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; |
69 | 71 |
70 // Whether the app list is visible (or in the process of being shown). | 72 // Whether the app list is visible (or in the process of being shown). |
71 bool is_visible_ = false; | 73 bool is_visible_ = false; |
72 | 74 |
73 // Not owned. Pointer is guaranteed to be valid while this object is alive. | 75 // Not owned. Pointer is guaranteed to be valid while this object is alive. |
74 app_list::AppListPresenterImpl* presenter_; | 76 app_list::AppListPresenterImpl* presenter_; |
75 | 77 |
76 // Not owned. Pointer is guaranteed to be valid while this object is alive. | 78 // Not owned. Pointer is guaranteed to be valid while this object is alive. |
77 app_list::AppListViewDelegateFactory* view_delegate_factory_; | 79 app_list::AppListViewDelegateFactory* view_delegate_factory_; |
78 | 80 |
79 // Owned by its widget. | 81 // Owned by its widget. |
80 app_list::AppListView* view_ = nullptr; | 82 app_list::AppListView* view_ = nullptr; |
81 | 83 |
82 DISALLOW_COPY_AND_ASSIGN(AppListPresenterDelegate); | 84 DISALLOW_COPY_AND_ASSIGN(AppListPresenterDelegate); |
83 }; | 85 }; |
84 | 86 |
85 } // namespace ash | 87 } // namespace ash |
86 | 88 |
87 #endif // ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_ | 89 #endif // ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_ |
OLD | NEW |