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

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: First cut for review/trybots Created 7 years, 2 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 | Annotate | Revision Log
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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // Handles the Next Track Media shortcut key. 195 // Handles the Next Track Media shortcut key.
196 virtual void HandleMediaNextTrack() = 0; 196 virtual void HandleMediaNextTrack() = 0;
197 197
198 // Handles the Play/Pause Toggle Media shortcut key. 198 // Handles the Play/Pause Toggle Media shortcut key.
199 virtual void HandleMediaPlayPause() = 0; 199 virtual void HandleMediaPlayPause() = 0;
200 200
201 // Handles the Previous Track Media shortcut key. 201 // Handles the Previous Track Media shortcut key.
202 virtual void HandleMediaPrevTrack() = 0; 202 virtual void HandleMediaPrevTrack() = 0;
203 203
204 // Creates a menu model of the context for the |root_window|. 204 // Creates a menu model of the context for the |root_window|.
205 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; 205 virtual ui::MenuModel* CreateContextMenu(aura::Window* root_window) = 0;
206 206
207 // Creates a root window host factory. Shell takes ownership of the returned 207 // Creates a root window host factory. Shell takes ownership of the returned
208 // value. 208 // value.
209 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; 209 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0;
210 210
211 // Get the product name. 211 // Get the product name.
212 virtual base::string16 GetProductName() const = 0; 212 virtual base::string16 GetProductName() const = 0;
213 }; 213 };
214 214
215 } // namespace ash 215 } // namespace ash
216 216
217 #endif // ASH_SHELL_DELEGATE_H_ 217 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698