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

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

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.cc
===================================================================
--- trunk/src/chrome/browser/ui/apps/chrome_shell_window_delegate.cc (revision 215780)
+++ trunk/src/chrome/browser/ui/apps/chrome_shell_window_delegate.cc (working copy)
@@ -25,6 +25,8 @@
#include "ash/launcher/launcher_types.h"
#endif
+namespace chrome {
+
namespace {
bool disable_external_open_for_testing_ = false;
@@ -63,12 +65,6 @@
#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,
@@ -152,3 +148,5 @@
content::WebContents* web_contents) {
return platform_util::IsVisible(web_contents->GetView()->GetNativeView());
}
+
+} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698