| Index: ash/common/shell_delegate.h
|
| diff --git a/ash/common/shell_delegate.h b/ash/common/shell_delegate.h
|
| index f584cf75cf51036bb3b4d3999225fadb71aecb60..6cb23ed5ea77b77b36a712b03d8cc5e3abbfbc2a 100644
|
| --- a/ash/common/shell_delegate.h
|
| +++ b/ash/common/shell_delegate.h
|
| @@ -14,6 +14,10 @@
|
|
|
| class GURL;
|
|
|
| +namespace content {
|
| +class WebContents;
|
| +}
|
| +
|
| namespace gfx {
|
| class Image;
|
| }
|
| @@ -83,7 +87,7 @@ class ASH_EXPORT ShellDelegate {
|
| // Invoked when the user uses Ctrl-Shift-Q to close chrome.
|
| virtual void Exit() = 0;
|
|
|
| - // Create a shell-specific keyboard::KeyboardUI
|
| + // Creates a shell-specific keyboard::KeyboardUI
|
| virtual keyboard::KeyboardUI* CreateKeyboardUI() = 0;
|
|
|
| // Opens the |url| in a new browser tab.
|
| @@ -114,7 +118,7 @@ class ASH_EXPORT ShellDelegate {
|
| // Creates a GPU support object. Shell takes ownership of the object.
|
| virtual GPUSupport* CreateGPUSupport() = 0;
|
|
|
| - // Get the product name.
|
| + // Gets the product name.
|
| virtual base::string16 GetProductName() const = 0;
|
|
|
| virtual void OpenKeyboardShortcutHelpPage() const {}
|
| @@ -136,6 +140,9 @@ class ASH_EXPORT ShellDelegate {
|
|
|
| // Toggles the status of touchpad between enabled and disabled.
|
| virtual void ToggleTouchpad() {}
|
| +
|
| + // Gets the WebContents.
|
| + virtual content::WebContents* GetWebContents() = 0;
|
| };
|
|
|
| } // namespace ash
|
|
|