| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |