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

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

Issue 21344002: Move native_app_window code to apps areas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to after mac app shim fix 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: chrome/browser/ui/apps/chrome_shell_window_delegate.cc
diff --git a/chrome/browser/ui/apps/chrome_shell_window_delegate.cc b/chrome/browser/ui/apps/chrome_shell_window_delegate.cc
index 80b810ffc3bd6bf9a83a54469ede7f1bd2557fa6..d6177bb891c763fc467ceef2973d20757dc3b0e0 100644
--- a/chrome/browser/ui/apps/chrome_shell_window_delegate.cc
+++ b/chrome/browser/ui/apps/chrome_shell_window_delegate.cc
@@ -25,8 +25,6 @@
#include "ash/launcher/launcher_types.h"
#endif
-namespace chrome {
-
namespace {
bool disable_external_open_for_testing_ = false;
@@ -65,6 +63,12 @@ void ChromeShellWindowDelegate::InitWebContents(
#endif
}
+apps::NativeAppWindow* ChromeShellWindowDelegate::CreateNativeAppWindow(
+ apps::ShellWindow* window,
+ const apps::ShellWindow::CreateParams& params) {
+ return CreateNativeAppWindowImpl(window, params);
+}
+
content::WebContents* ChromeShellWindowDelegate::OpenURLFromTab(
Profile* profile,
content::WebContents* source,
@@ -148,5 +152,3 @@ bool ChromeShellWindowDelegate::IsWebContentsVisible(
content::WebContents* web_contents) {
return platform_util::IsVisible(web_contents->GetView()->GetNativeView());
}
-
-} // namespace chrome
« no previous file with comments | « chrome/browser/ui/apps/chrome_shell_window_delegate.h ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698