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

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

Issue 166573005: Rename apps::ShellWindow to apps::AppWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix more shell and Shell refs 2 Created 6 years, 10 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: 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 026e67ccb43a0b5664cfd84c7a3a925b3ff4f774..cdd14997833f93d878cfa766d33df8aa3c7bf737 100644
--- a/chrome/browser/ui/apps/chrome_shell_window_delegate.h
+++ b/chrome/browser/ui/apps/chrome_shell_window_delegate.h
@@ -5,7 +5,7 @@
#ifndef CHROME_BROWSER_UI_APPS_CHROME_SHELL_WINDOW_DELEGATE_H_
#define CHROME_BROWSER_UI_APPS_CHROME_SHELL_WINDOW_DELEGATE_H_
-#include "apps/shell_window.h"
+#include "apps/app_window.h"
#include "base/memory/scoped_ptr.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_delegate.h"
@@ -29,7 +29,8 @@ class ShellWindowLinkDelegate : public content::WebContentsDelegate {
DISALLOW_COPY_AND_ASSIGN(ShellWindowLinkDelegate);
};
-class ChromeShellWindowDelegate : public apps::ShellWindow::Delegate {
+// TODO(jamescook): Rename to ChromeAppWindowDelegate.
scheib 2014/02/15 00:26:36 issue
+class ChromeShellWindowDelegate : public apps::AppWindow::Delegate {
public:
ChromeShellWindowDelegate();
virtual ~ChromeShellWindowDelegate();
@@ -37,11 +38,11 @@ class ChromeShellWindowDelegate : public apps::ShellWindow::Delegate {
static void DisableExternalOpenForTesting();
private:
- // apps::ShellWindow::Delegate:
+ // apps::AppWindow::Delegate:
virtual void InitWebContents(content::WebContents* web_contents) OVERRIDE;
virtual apps::NativeAppWindow* CreateNativeAppWindow(
- apps::ShellWindow* window,
- const apps::ShellWindow::CreateParams& params) OVERRIDE;
+ apps::AppWindow* window,
+ const apps::AppWindow::CreateParams& params) OVERRIDE;
virtual content::WebContents* OpenURLFromTab(
content::BrowserContext* context,
content::WebContents* source,
@@ -71,8 +72,8 @@ class ChromeShellWindowDelegate : public apps::ShellWindow::Delegate {
// Implemented in platform specific code.
static apps::NativeAppWindow* CreateNativeAppWindowImpl(
- apps::ShellWindow* window,
- const apps::ShellWindow::CreateParams& params);
+ apps::AppWindow* window,
+ const apps::AppWindow::CreateParams& params);
scoped_ptr<ShellWindowLinkDelegate> shell_window_link_delegate_;

Powered by Google App Engine
This is Rietveld 408576698