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

Side by Side Diff: ash/common/shell_delegate.h

Issue 2290473004: Rename ash desktop_background to wallpaper. (Closed)
Patch Set: Address comments. Created 4 years, 3 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/common/root_window_controller_common.cc ('k') | ash/common/shell_window_ids.h » ('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_COMMON_SHELL_DELEGATE_H_ 5 #ifndef ASH_COMMON_SHELL_DELEGATE_H_
6 #define ASH_COMMON_SHELL_DELEGATE_H_ 6 #define ASH_COMMON_SHELL_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 // Creates an application delegate. Shell takes ownership of the delegate. 120 // Creates an application delegate. Shell takes ownership of the delegate.
121 virtual NewWindowDelegate* CreateNewWindowDelegate() = 0; 121 virtual NewWindowDelegate* CreateNewWindowDelegate() = 0;
122 122
123 // Creates a media delegate. Shell takes ownership of the delegate. 123 // Creates a media delegate. Shell takes ownership of the delegate.
124 virtual MediaDelegate* CreateMediaDelegate() = 0; 124 virtual MediaDelegate* CreateMediaDelegate() = 0;
125 125
126 virtual std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() = 0; 126 virtual std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() = 0;
127 127
128 // Creates a menu model for the |wm_shelf| and optional shelf |item|. 128 // Creates a menu model for the |wm_shelf| and optional shelf |item|.
129 // If |item| is null, this creates a context menu for the desktop or shelf. 129 // If |item| is null, this creates a context menu for the wallpaper or shelf.
130 virtual ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, 130 virtual ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf,
131 const ShelfItem* item) = 0; 131 const ShelfItem* item) = 0;
132 132
133 // Creates a GPU support object. Shell takes ownership of the object. 133 // Creates a GPU support object. Shell takes ownership of the object.
134 virtual GPUSupport* CreateGPUSupport() = 0; 134 virtual GPUSupport* CreateGPUSupport() = 0;
135 135
136 // Get the product name. 136 // Get the product name.
137 virtual base::string16 GetProductName() const = 0; 137 virtual base::string16 GetProductName() const = 0;
138 138
139 virtual void OpenKeyboardShortcutHelpPage() const {} 139 virtual void OpenKeyboardShortcutHelpPage() const {}
140 140
141 virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0; 141 virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0;
142 142
143 // Toggles the status of the touchpad / touchscreen on or off. 143 // Toggles the status of the touchpad / touchscreen on or off.
144 virtual void ToggleTouchpad() {} 144 virtual void ToggleTouchpad() {}
145 virtual void ToggleTouchscreen() {} 145 virtual void ToggleTouchscreen() {}
146 }; 146 };
147 147
148 } // namespace ash 148 } // namespace ash
149 149
150 #endif // ASH_COMMON_SHELL_DELEGATE_H_ 150 #endif // ASH_COMMON_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/common/root_window_controller_common.cc ('k') | ash/common/shell_window_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698