OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_ | 5 #ifndef ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_ |
6 #define ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_ | 6 #define ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // ui::EventHandler overrides: | 59 // ui::EventHandler overrides: |
60 void OnMouseEvent(ui::MouseEvent* event) override; | 60 void OnMouseEvent(ui::MouseEvent* event) override; |
61 void OnGestureEvent(ui::GestureEvent* event) override; | 61 void OnGestureEvent(ui::GestureEvent* event) override; |
62 | 62 |
63 // KeyboardControllerObserver overrides: | 63 // KeyboardControllerObserver overrides: |
64 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; | 64 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; |
65 void OnKeyboardClosed() override; | 65 void OnKeyboardClosed() override; |
66 | 66 |
67 // ShellObserver overrides: | 67 // ShellObserver overrides: |
68 void OnOverviewModeStarting() override; | 68 void OnOverviewModeStarting() override; |
69 void OnMaximizeModeStarted() override; | |
70 void OnMaximizeModeEnded() override; | |
71 | 69 |
72 // Whether the app list is visible (or in the process of being shown). | 70 // Whether the app list is visible (or in the process of being shown). |
73 bool is_visible_ = false; | 71 bool is_visible_ = false; |
74 | 72 |
75 // Not owned. Pointer is guaranteed to be valid while this object is alive. | 73 // Not owned. Pointer is guaranteed to be valid while this object is alive. |
76 app_list::AppListPresenterImpl* presenter_; | 74 app_list::AppListPresenterImpl* presenter_; |
77 | 75 |
78 // Not owned. Pointer is guaranteed to be valid while this object is alive. | 76 // Not owned. Pointer is guaranteed to be valid while this object is alive. |
79 app_list::AppListViewDelegateFactory* view_delegate_factory_; | 77 app_list::AppListViewDelegateFactory* view_delegate_factory_; |
80 | 78 |
81 // Owned by its widget. | 79 // Owned by its widget. |
82 app_list::AppListView* view_ = nullptr; | 80 app_list::AppListView* view_ = nullptr; |
83 | 81 |
84 DISALLOW_COPY_AND_ASSIGN(AppListPresenterDelegate); | 82 DISALLOW_COPY_AND_ASSIGN(AppListPresenterDelegate); |
85 }; | 83 }; |
86 | 84 |
87 } // namespace ash | 85 } // namespace ash |
88 | 86 |
89 #endif // ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_ | 87 #endif // ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_ |
OLD | NEW |