| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // ui::EventHandler overrides: | 61 // ui::EventHandler overrides: |
| 62 void OnMouseEvent(ui::MouseEvent* event) override; | 62 void OnMouseEvent(ui::MouseEvent* event) override; |
| 63 void OnGestureEvent(ui::GestureEvent* event) override; | 63 void OnGestureEvent(ui::GestureEvent* event) override; |
| 64 | 64 |
| 65 // KeyboardControllerObserver overrides: | 65 // KeyboardControllerObserver overrides: |
| 66 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; | 66 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; |
| 67 void OnKeyboardClosed() override; | 67 void OnKeyboardClosed() override; |
| 68 | 68 |
| 69 // ShellObserver overrides: | 69 // ShellObserver overrides: |
| 70 void OnOverviewModeStarting() override; | 70 void OnOverviewModeStarting() override; |
| 71 void OnMaximizeModeStarted() override; | |
| 72 void OnMaximizeModeEnded() override; | |
| 73 | 71 |
| 74 // WmShelfObserver overrides: | 72 // WmShelfObserver overrides: |
| 75 void OnShelfIconPositionsChanged() override; | 73 void OnShelfIconPositionsChanged() override; |
| 76 | 74 |
| 77 // Whether the app list is visible (or in the process of being shown). | 75 // Whether the app list is visible (or in the process of being shown). |
| 78 bool is_visible_ = false; | 76 bool is_visible_ = false; |
| 79 | 77 |
| 80 // 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. |
| 81 app_list::AppListPresenterImpl* presenter_; | 79 app_list::AppListPresenterImpl* presenter_; |
| 82 | 80 |
| 83 // Not owned. Pointer is guaranteed to be valid while this object is alive. | 81 // Not owned. Pointer is guaranteed to be valid while this object is alive. |
| 84 app_list::AppListViewDelegateFactory* view_delegate_factory_; | 82 app_list::AppListViewDelegateFactory* view_delegate_factory_; |
| 85 | 83 |
| 86 // Owned by its widget. | 84 // Owned by its widget. |
| 87 app_list::AppListView* view_ = nullptr; | 85 app_list::AppListView* view_ = nullptr; |
| 88 | 86 |
| 89 DISALLOW_COPY_AND_ASSIGN(AppListPresenterDelegate); | 87 DISALLOW_COPY_AND_ASSIGN(AppListPresenterDelegate); |
| 90 }; | 88 }; |
| 91 | 89 |
| 92 } // namespace ash | 90 } // namespace ash |
| 93 | 91 |
| 94 #endif // ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_ | 92 #endif // ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_ |
| OLD | NEW |