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

Unified Diff: ash/shell/content_client/shell_browser_main_parts.cc

Issue 10081022: Aura/ash split: Remove hacks and get chrome linking without ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move the check to ash/. Created 8 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_extra_parts_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/content_client/shell_browser_main_parts.cc
diff --git a/ash/shell/content_client/shell_browser_main_parts.cc b/ash/shell/content_client/shell_browser_main_parts.cc
index 2aaaed2be8c148fd5059b12f22847ac871598467..0d4a1a51f0a69ee0775a4b83e6269d9647c9b281 100644
--- a/ash/shell/content_client/shell_browser_main_parts.cc
+++ b/ash/shell/content_client/shell_browser_main_parts.cc
@@ -52,6 +52,13 @@ class ShellViewsDelegate : public views::TestViewsDelegate {
return true;
}
+ views::NativeWidgetHelperAura* CreateNativeWidgetHelper(
+ views::NativeWidgetAura* native_widget) OVERRIDE {
+ // The default behavior of the test delegate is to work in desktop
+ // mode. Return NULL here so NativeWidgetAura uses our RootWindow instead.
+ return NULL;
+ }
+
private:
DISALLOW_COPY_AND_ASSIGN(ShellViewsDelegate);
};
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_extra_parts_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698