Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Side by Side Diff: ash/app_list/app_list_presenter_delegate.h

Issue 2225683008: [ash-md] Cancels app-list (launcher) before entering overview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [ash-md] - Prevents accelerators from reaching an active window in overview (handle in app-list) Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 72
73 // ShellObserver overrides: 73 // ShellObserver overrides:
74 void OnShelfAlignmentChanged(WmWindow* root_window) override; 74 void OnShelfAlignmentChanged(WmWindow* root_window) override;
75 void OnOverviewModeStarting() override;
75 void OnMaximizeModeStarted() override; 76 void OnMaximizeModeStarted() override;
76 void OnMaximizeModeEnded() override; 77 void OnMaximizeModeEnded() override;
77 78
78 // ShelfIconObserver overrides: 79 // ShelfIconObserver overrides:
79 void OnShelfIconPositionsChanged() override; 80 void OnShelfIconPositionsChanged() override;
80 81
81 // 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).
82 bool is_visible_ = false; 83 bool is_visible_ = false;
83 84
84 // Whether the app list should remain centered. 85 // Whether the app list should remain centered.
85 bool is_centered_ = false; 86 bool is_centered_ = false;
86 87
87 // 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.
88 app_list::AppListPresenter* presenter_; 89 app_list::AppListPresenter* presenter_;
89 90
90 // Not owned. Pointer is guaranteed to be valid while this object is alive. 91 // Not owned. Pointer is guaranteed to be valid while this object is alive.
91 app_list::AppListViewDelegateFactory* view_delegate_factory_; 92 app_list::AppListViewDelegateFactory* view_delegate_factory_;
92 93
93 // Owned by its widget. 94 // Owned by its widget.
94 app_list::AppListView* view_ = nullptr; 95 app_list::AppListView* view_ = nullptr;
95 96
96 DISALLOW_COPY_AND_ASSIGN(AppListPresenterDelegate); 97 DISALLOW_COPY_AND_ASSIGN(AppListPresenterDelegate);
97 }; 98 };
98 99
99 } // namespace ash 100 } // namespace ash
100 101
101 #endif // ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_ 102 #endif // ASH_APP_LIST_APP_LIST_PRESENTER_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | ash/app_list/app_list_presenter_delegate.cc » ('j') | ash/wm/overview/window_selector_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698