Chromium Code Reviews| Index: chrome/browser/ui/apps/chrome_app_window_delegate.h |
| diff --git a/chrome/browser/ui/apps/chrome_shell_window_delegate.h b/chrome/browser/ui/apps/chrome_app_window_delegate.h |
| similarity index 79% |
| rename from chrome/browser/ui/apps/chrome_shell_window_delegate.h |
| rename to chrome/browser/ui/apps/chrome_app_window_delegate.h |
| index 21897d4b743a03f8123a35a1b1c11a2b49f6b09c..bbd2fe40c3ac7482c8a08220635e4930cd77577c 100644 |
| --- a/chrome/browser/ui/apps/chrome_shell_window_delegate.h |
| +++ b/chrome/browser/ui/apps/chrome_app_window_delegate.h |
| @@ -2,8 +2,8 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CHROME_BROWSER_UI_APPS_CHROME_SHELL_WINDOW_DELEGATE_H_ |
| -#define CHROME_BROWSER_UI_APPS_CHROME_SHELL_WINDOW_DELEGATE_H_ |
| +#ifndef CHROME_BROWSER_UI_APPS_CHROME_APP_WINDOW_DELEGATE_H_ |
| +#define CHROME_BROWSER_UI_APPS_CHROME_APP_WINDOW_DELEGATE_H_ |
| #include "apps/app_window.h" |
| #include "base/memory/scoped_ptr.h" |
| @@ -16,24 +16,24 @@ namespace content { |
| class BrowserContext; |
| } |
| -class ShellWindowLinkDelegate : public content::WebContentsDelegate { |
| +class AppWindowLinkDelegate : public content::WebContentsDelegate { |
| public: |
| - ShellWindowLinkDelegate(); |
| - virtual ~ShellWindowLinkDelegate(); |
| + AppWindowLinkDelegate(); |
| + virtual ~AppWindowLinkDelegate(); |
| private: |
| virtual content::WebContents* OpenURLFromTab( |
| content::WebContents* source, |
| const content::OpenURLParams& params) OVERRIDE; |
| - DISALLOW_COPY_AND_ASSIGN(ShellWindowLinkDelegate); |
| + DISALLOW_COPY_AND_ASSIGN(AppWindowLinkDelegate); |
| }; |
| // TODO(jamescook): Rename to ChromeAppWindowDelegate. http://crbug.com/344084 |
|
Ken Rockot(use gerrit already)
2014/02/19 15:47:29
nit: Might as well axe the TODO
scheib
2014/02/19 15:52:41
Done.
|
| -class ChromeShellWindowDelegate : public apps::AppWindow::Delegate { |
| +class ChromeAppWindowDelegate : public apps::AppWindow::Delegate { |
| public: |
| - ChromeShellWindowDelegate(); |
| - virtual ~ChromeShellWindowDelegate(); |
| + ChromeAppWindowDelegate(); |
| + virtual ~ChromeAppWindowDelegate(); |
| static void DisableExternalOpenForTesting(); |
| @@ -75,9 +75,9 @@ class ChromeShellWindowDelegate : public apps::AppWindow::Delegate { |
| apps::AppWindow* window, |
| const apps::AppWindow::CreateParams& params); |
| - scoped_ptr<ShellWindowLinkDelegate> shell_window_link_delegate_; |
| + scoped_ptr<AppWindowLinkDelegate> app_window_link_delegate_; |
| - DISALLOW_COPY_AND_ASSIGN(ChromeShellWindowDelegate); |
| + DISALLOW_COPY_AND_ASSIGN(ChromeAppWindowDelegate); |
| }; |
| -#endif // CHROME_BROWSER_UI_APPS_CHROME_SHELL_WINDOW_DELEGATE_H_ |
| +#endif // CHROME_BROWSER_UI_APPS_CHROME_APP_WINDOW_DELEGATE_H_ |