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

Side by Side Diff: ash/shell_delegate.h

Issue 37733003: Make GetRootWindow() return a Window instead of a RootWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « ash/shell/window_watcher_unittest.cc ('k') | ash/shell_observer.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_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 <string> 8 #include <string>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // Handles the Next Track Media shortcut key. 175 // Handles the Next Track Media shortcut key.
176 virtual void HandleMediaNextTrack() = 0; 176 virtual void HandleMediaNextTrack() = 0;
177 177
178 // Handles the Play/Pause Toggle Media shortcut key. 178 // Handles the Play/Pause Toggle Media shortcut key.
179 virtual void HandleMediaPlayPause() = 0; 179 virtual void HandleMediaPlayPause() = 0;
180 180
181 // Handles the Previous Track Media shortcut key. 181 // Handles the Previous Track Media shortcut key.
182 virtual void HandleMediaPrevTrack() = 0; 182 virtual void HandleMediaPrevTrack() = 0;
183 183
184 // Creates a menu model of the context for the |root_window|. 184 // Creates a menu model of the context for the |root_window|.
185 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; 185 virtual ui::MenuModel* CreateContextMenu(aura::Window* root_window) = 0;
186 186
187 // Creates a root window host factory. Shell takes ownership of the returned 187 // Creates a root window host factory. Shell takes ownership of the returned
188 // value. 188 // value.
189 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; 189 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0;
190 190
191 // Get the product name. 191 // Get the product name.
192 virtual base::string16 GetProductName() const = 0; 192 virtual base::string16 GetProductName() const = 0;
193 }; 193 };
194 194
195 } // namespace ash 195 } // namespace ash
196 196
197 #endif // ASH_SHELL_DELEGATE_H_ 197 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/window_watcher_unittest.cc ('k') | ash/shell_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698