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