Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: ui/app_list/test/app_list_shower_impl_test_api.cc

Issue 1830293002: AppListController refactoring part 1: AppListShower implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: --similarity 30 Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_VIEW_OBSERVER_H_ 5 #include "ui/app_list/test/app_list_shower_impl_test_api.h"
6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_OBSERVER_H_
7 6
8 namespace views { 7 #include "ui/app_list/app_list_shower_impl.h"
9 class Widget; 8 #include "ui/app_list/views/app_list_view.h"
9
10 namespace app_list {
11 namespace test {
12
13 AppListShowerImplTestApi::AppListShowerImplTestApi(AppListShowerImpl* shower)
14 : shower_(shower) {}
15
16 AppListView* AppListShowerImplTestApi::view() {
17 return shower_->view_;
10 } 18 }
11 19
12 namespace app_list { 20 AppListShowerDelegate* AppListShowerImplTestApi::shower_delegate() {
21 return shower_->shower_delegate_.get();
22 }
13 23
14 class AppListViewObserver { 24 } // namespace test
15 public:
16 virtual void OnActivationChanged(views::Widget* widget, bool active) = 0;
17
18 protected:
19 virtual ~AppListViewObserver() {}
20 };
21
22 } // namespace app_list 25 } // namespace app_list
23
24 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698