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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 void Init(app_list::AppListView* view, | 49 void Init(app_list::AppListView* view, |
50 int64_t display_id, | 50 int64_t display_id, |
51 int current_apps_page) override; | 51 int current_apps_page) override; |
52 void OnShown(int64_t display_id) override; | 52 void OnShown(int64_t display_id) override; |
53 void OnDismissed() override; | 53 void OnDismissed() override; |
54 void UpdateBounds() override; | 54 void UpdateBounds() override; |
55 gfx::Vector2d GetVisibilityAnimationOffset( | 55 gfx::Vector2d GetVisibilityAnimationOffset( |
56 aura::Window* root_window) override; | 56 aura::Window* root_window) override; |
57 | 57 |
58 private: | 58 private: |
| 59 bool CheckFullscreenAppListEnabled(); |
59 void ProcessLocatedEvent(ui::LocatedEvent* event); | 60 void ProcessLocatedEvent(ui::LocatedEvent* event); |
60 | 61 |
61 // ui::EventHandler overrides: | 62 // ui::EventHandler overrides: |
62 void OnMouseEvent(ui::MouseEvent* event) override; | 63 void OnMouseEvent(ui::MouseEvent* event) override; |
63 void OnGestureEvent(ui::GestureEvent* event) override; | 64 void OnGestureEvent(ui::GestureEvent* event) override; |
64 | 65 |
65 // KeyboardControllerObserver overrides: | 66 // KeyboardControllerObserver overrides: |
66 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; | 67 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; |
67 void OnKeyboardClosed() override; | 68 void OnKeyboardClosed() override; |
68 | 69 |
(...skipping 14 matching lines...) Expand all Loading... |
83 | 84 |
84 // Owned by its widget. | 85 // Owned by its widget. |
85 app_list::AppListView* view_ = nullptr; | 86 app_list::AppListView* view_ = nullptr; |
86 | 87 |
87 DISALLOW_COPY_AND_ASSIGN(AppListPresenterDelegate); | 88 DISALLOW_COPY_AND_ASSIGN(AppListPresenterDelegate); |
88 }; | 89 }; |
89 | 90 |
90 } // namespace ash | 91 } // namespace ash |
91 | 92 |
92 #endif // ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_ | 93 #endif // ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_ |
OLD | NEW |