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

Unified Diff: ash/shell.h

Issue 2752593008: Move AcceleratorController from WmShell to Shell (Closed)
Patch Set: fix include Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index a2a46642746631defe92ebe72f1431541df615e0..2484c10fb8a4abcb95218b24b3f04afd8260d854 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -88,7 +88,7 @@ class WindowModalityController;
namespace ash {
-class AcceleratorControllerDelegateAura;
+class AcceleratorController;
class AccessibilityDelegate;
class AppListDelegateImpl;
class AshNativeCursorManager;
@@ -273,10 +273,9 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
// dialog. If true then changes to display settings can be saved.
bool ShouldSaveDisplaySettings();
- AcceleratorControllerDelegateAura* accelerator_controller_delegate() {
- return accelerator_controller_delegate_.get();
+ AcceleratorController* accelerator_controller() {
+ return accelerator_controller_.get();
}
-
AccessibilityDelegate* accessibility_delegate() {
return accessibility_delegate_.get();
}
@@ -568,11 +567,10 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
std::unique_ptr<::wm::CompoundEventFilter> env_filter_;
std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_;
- std::unique_ptr<AcceleratorControllerDelegateAura>
- accelerator_controller_delegate_;
std::unique_ptr<SessionStateDelegate> session_state_delegate_;
std::unique_ptr<WindowPositioner> window_positioner_;
+ std::unique_ptr<AcceleratorController> accelerator_controller_;
std::unique_ptr<AccessibilityDelegate> accessibility_delegate_;
std::unique_ptr<PaletteDelegate> palette_delegate_;
std::unique_ptr<DragDropController> drag_drop_controller_;
« no previous file with comments | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698