1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "ash/test/launcher_test_api.h" 6 7 #include "ash/launcher/launcher.h" 8 9 namespace ash { 10 namespace test { 11 12 LauncherTestAPI::LauncherTestAPI(Launcher* launcher) 13 : launcher_(launcher) { 14 } 15 16 LauncherTestAPI::~LauncherTestAPI() { 17 } 18 19 internal::ShelfView* LauncherTestAPI::shelf_view() { 20 return launcher_->shelf_view_; 21 } 22 23 void LauncherTestAPI::SetShelfDelegate(ShelfDelegate* delegate) { 24 launcher_->delegate_ = delegate; 25 } 26 27 } // namespace test 28 } // namespace ash 29