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

Side by Side Diff: ash/shell_delegate.h

Issue 2839933005: mash: Merge ChromeLauncherController and *Impl subclass. (Closed)
Patch Set: Address comments. Created 3 years, 7 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
« no previous file with comments | « ash/shell.cc ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SHELL_DELEGATE_H_ 5 #ifndef ASH_SHELL_DELEGATE_H_
6 #define ASH_SHELL_DELEGATE_H_ 6 #define ASH_SHELL_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Invoked when the user uses Ctrl-Shift-Q to close chrome. 81 // Invoked when the user uses Ctrl-Shift-Q to close chrome.
82 virtual void Exit() = 0; 82 virtual void Exit() = 0;
83 83
84 // Create a shell-specific keyboard::KeyboardUI 84 // Create a shell-specific keyboard::KeyboardUI
85 virtual keyboard::KeyboardUI* CreateKeyboardUI() = 0; 85 virtual keyboard::KeyboardUI* CreateKeyboardUI() = 0;
86 86
87 // Opens the |url| in a new browser tab. 87 // Opens the |url| in a new browser tab.
88 virtual void OpenUrlFromArc(const GURL& url) = 0; 88 virtual void OpenUrlFromArc(const GURL& url) = 0;
89 89
90 // Functions called when the shelf is initialized and shut down. 90 // Functions called when the shelf is initialized and shut down.
91 // TODO(msw): Refine ChromeLauncherControllerImpl lifetime management. 91 // TODO(msw): Refine ChromeLauncherController lifetime management.
92 virtual void ShelfInit() = 0; 92 virtual void ShelfInit() = 0;
93 virtual void ShelfShutdown() = 0; 93 virtual void ShelfShutdown() = 0;
94 94
95 // Creates a system-tray delegate. Shell takes ownership of the delegate. 95 // Creates a system-tray delegate. Shell takes ownership of the delegate.
96 virtual SystemTrayDelegate* CreateSystemTrayDelegate() = 0; 96 virtual SystemTrayDelegate* CreateSystemTrayDelegate() = 0;
97 97
98 // Creates a wallpaper delegate. Shell takes ownership of the delegate. 98 // Creates a wallpaper delegate. Shell takes ownership of the delegate.
99 virtual std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() = 0; 99 virtual std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() = 0;
100 100
101 // Creates a session state delegate. Shell takes ownership of the delegate. 101 // Creates a session state delegate. Shell takes ownership of the delegate.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // if both local state and user prefs are enabled, otherwise disabled. 134 // if both local state and user prefs are enabled, otherwise disabled.
135 virtual void UpdateTouchscreenStatusFromPrefs() = 0; 135 virtual void UpdateTouchscreenStatusFromPrefs() = 0;
136 136
137 // Toggles the status of touchpad between enabled and disabled. 137 // Toggles the status of touchpad between enabled and disabled.
138 virtual void ToggleTouchpad() {} 138 virtual void ToggleTouchpad() {}
139 }; 139 };
140 140
141 } // namespace ash 141 } // namespace ash
142 142
143 #endif // ASH_SHELL_DELEGATE_H_ 143 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698