| Index: chrome/browser/ui/apps/chrome_shell_window_delegate.h
|
| diff --git a/chrome/browser/ui/apps/chrome_shell_window_delegate.h b/chrome/browser/ui/apps/chrome_shell_window_delegate.h
|
| index a0e971dc028fda481a0a9e29ee75517124096a96..1cd3fd762a15202a05f2f2c67644fe9ac5bf2f80 100644
|
| --- a/chrome/browser/ui/apps/chrome_shell_window_delegate.h
|
| +++ b/chrome/browser/ui/apps/chrome_shell_window_delegate.h
|
| @@ -13,8 +13,6 @@
|
| #include "ui/base/window_open_disposition.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| -namespace chrome {
|
| -
|
| class ShellWindowLinkDelegate : public content::WebContentsDelegate {
|
| public:
|
| ShellWindowLinkDelegate();
|
| @@ -38,6 +36,9 @@ class ChromeShellWindowDelegate : public apps::ShellWindow::Delegate {
|
| private:
|
| // apps::ShellWindow::Delegate:
|
| virtual void InitWebContents(content::WebContents* web_contents) OVERRIDE;
|
| + virtual apps::NativeAppWindow* CreateNativeAppWindow(
|
| + apps::ShellWindow* window,
|
| + const apps::ShellWindow::CreateParams& params) OVERRIDE;
|
| virtual content::WebContents* OpenURLFromTab(
|
| Profile* profile,
|
| content::WebContents* source,
|
| @@ -65,11 +66,14 @@ class ChromeShellWindowDelegate : public apps::ShellWindow::Delegate {
|
| virtual bool IsWebContentsVisible(
|
| content::WebContents* web_contents) OVERRIDE;
|
|
|
| + // Implemented in platform specific code.
|
| + static apps::NativeAppWindow* CreateNativeAppWindowImpl(
|
| + apps::ShellWindow* window,
|
| + const apps::ShellWindow::CreateParams& params);
|
| +
|
| scoped_ptr<ShellWindowLinkDelegate> shell_window_link_delegate_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ChromeShellWindowDelegate);
|
| };
|
|
|
| -} // namespace chrome
|
| -
|
| #endif // CHROME_BROWSER_UI_APPS_CHROME_SHELL_WINDOW_DELEGATE_H_
|
|
|