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

Side by Side Diff: ui/app_list/presenter/app_list_presenter_impl.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « ui/app_list/presenter/app_list_presenter.h ('k') | ui/app_list/search/history_data_store.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_PRESENTER_APP_LIST_PRESENTER_IMPL_H_ 5 #ifndef UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_IMPL_H_
6 #define UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_IMPL_H_ 6 #define UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "ui/app_list/pagination_model_observer.h" 12 #include "ui/app_list/pagination_model_observer.h"
13 #include "ui/app_list/presenter/app_list_presenter.h" 13 #include "ui/app_list/presenter/app_list_presenter.h"
14 #include "ui/app_list/presenter/app_list_presenter_delegate.h" 14 #include "ui/app_list/presenter/app_list_presenter_delegate.h"
15 #include "ui/aura/client/focus_change_observer.h" 15 #include "ui/aura/client/focus_change_observer.h"
16 #include "ui/aura/window_observer.h" 16 #include "ui/aura/window_observer.h"
17 #include "ui/compositor/layer_animation_observer.h" 17 #include "ui/compositor/layer_animation_observer.h"
18 #include "ui/gfx/geometry/rect.h" 18 #include "ui/gfx/geometry/rect.h"
19 #include "ui/views/widget/widget_observer.h" 19 #include "ui/views/widget/widget_observer.h"
20 20
21 namespace app_list { 21 namespace app_list {
22 class AppListView; 22 class AppListView;
23 class AppListViewDelegate; 23 class AppListViewDelegate;
24 class AppListPresenterDelegateFactory; 24 class AppListPresenterDelegateFactory;
25 25
26 namespace test { 26 namespace test {
27 class AppListPresenterImplTestApi; 27 class AppListPresenterImplTestApi;
28 } 28 }
29 29
30 class AppListPresenterImplTest;
31 class AppListViewDelegate; 30 class AppListViewDelegate;
32 31
33 // Manages app list UI. Creates AppListView and schedules showing/hiding 32 // Manages app list UI. Creates AppListView and schedules showing/hiding
34 // animation. While the UI is visible, it monitors things such as app list 33 // animation. While the UI is visible, it monitors things such as app list
35 // activation state to auto dismiss the UI. Delegates the responsibility 34 // activation state to auto dismiss the UI. Delegates the responsibility
36 // for laying out the app list UI to ash::AppListLayoutDelegate. 35 // for laying out the app list UI to ash::AppListLayoutDelegate.
37 class APP_LIST_PRESENTER_EXPORT AppListPresenterImpl 36 class APP_LIST_PRESENTER_EXPORT AppListPresenterImpl
38 : public AppListPresenter, 37 : public AppListPresenter,
39 public aura::client::FocusChangeObserver, 38 public aura::client::FocusChangeObserver,
40 public aura::WindowObserver, 39 public aura::WindowObserver,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 111
113 // Whether should schedule snap back animation. 112 // Whether should schedule snap back animation.
114 bool should_snap_back_ = false; 113 bool should_snap_back_ = false;
115 114
116 DISALLOW_COPY_AND_ASSIGN(AppListPresenterImpl); 115 DISALLOW_COPY_AND_ASSIGN(AppListPresenterImpl);
117 }; 116 };
118 117
119 } // namespace app_list 118 } // namespace app_list
120 119
121 #endif // UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_IMPL_H_ 120 #endif // UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_IMPL_H_
OLDNEW
« no previous file with comments | « ui/app_list/presenter/app_list_presenter.h ('k') | ui/app_list/search/history_data_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698