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

Unified Diff: trunk/src/chrome/browser/ui/apps/chrome_shell_window_delegate.h

Issue 22355002: Revert 215753 "Move native_app_window code to apps areas" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/chrome/browser/ui/apps/chrome_shell_window_delegate.h
===================================================================
--- trunk/src/chrome/browser/ui/apps/chrome_shell_window_delegate.h (revision 215780)
+++ trunk/src/chrome/browser/ui/apps/chrome_shell_window_delegate.h (working copy)
@@ -13,6 +13,8 @@
#include "ui/base/window_open_disposition.h"
#include "ui/gfx/rect.h"
+namespace chrome {
+
class ShellWindowLinkDelegate : public content::WebContentsDelegate {
public:
ShellWindowLinkDelegate();
@@ -36,9 +38,6 @@
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,
@@ -66,14 +65,11 @@
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_

Powered by Google App Engine
This is Rietveld 408576698