diff options
author | simon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-14 04:54:06 +0000 |
---|---|---|
committer | simon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-14 04:54:06 +0000 |
commit | f00254227244029f5ccb5327e11ab6ec482f6d07 (patch) | |
tree | fd81e9eef4eed1171a99225beecbc9b7d001562e /ash/test/launcher_test_api.cc | |
parent | 6e87afa3ce73315ef3408427a4c27c67633545b9 (diff) | |
download | chromium_src-f00254227244029f5ccb5327e11ab6ec482f6d07.zip chromium_src-f00254227244029f5ccb5327e11ab6ec482f6d07.tar.gz chromium_src-f00254227244029f5ccb5327e11ab6ec482f6d07.tar.bz2 |
[ash] Remove Launcher::GetLauncherViewForTest()
To export LauncherView, ash::test::LauncherTestAPI class is created.
R=sky@chromium.org
BUG=NONE
TEST=ash_unittests, browser_tests, interactive_ui_tests
Review URL: https://chromiumcodereview.appspot.com/23449033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223215 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/test/launcher_test_api.cc')
-rw-r--r-- | ash/test/launcher_test_api.cc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ash/test/launcher_test_api.cc b/ash/test/launcher_test_api.cc new file mode 100644 index 0000000..e92625f --- /dev/null +++ b/ash/test/launcher_test_api.cc @@ -0,0 +1,24 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "ash/test/launcher_test_api.h" + +#include "ash/launcher/launcher.h" + +namespace ash { +namespace test { + +LauncherTestAPI::LauncherTestAPI(Launcher* launcher) + : launcher_(launcher) { +} + +LauncherTestAPI::~LauncherTestAPI() { +} + +internal::LauncherView* LauncherTestAPI::launcher_view() { + return launcher_->launcher_view_; +} + +} // namespace test +} // namespace ash |