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

Unified Diff: chrome/browser/chrome_browser_parts_views.cc

Issue 8566054: Set up desktop in proper location; fix notification initialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/chrome_browser_parts_views.cc
diff --git a/chrome/browser/chrome_browser_parts_views.cc b/chrome/browser/chrome_browser_parts_views.cc
index 31911082602f37635f19b1814e7cbd79885d8e8b..34ffcc95d73b1c1f6bc9f435e5ae377ed7124f20 100644
--- a/chrome/browser/chrome_browser_parts_views.cc
+++ b/chrome/browser/chrome_browser_parts_views.cc
@@ -28,6 +28,15 @@ void ChromeBrowserPartsViews::ToolkitInitialized() {
}
void ChromeBrowserPartsViews::PreMainMessageLoopRun() {
+}
+
+bool ChromeBrowserPartsViews::MainMessageLoopRun(int* result_code) {
+ return false;
+}
+
+// TODO(stevenjb): Move this into a chrome specific stage instead of calling
+// directly from ChromeBrowserMainParts::PreMainMessageLoopRun().
+void ChromeBrowserPartsViews::SetupDesktop() {
#if !defined(USE_AURA)
views::Widget::SetPureViews(
CommandLine::ForCurrentProcess()->HasSwitch(switches::kUsePureViews));
@@ -54,7 +63,3 @@ void ChromeBrowserPartsViews::PreMainMessageLoopRun() {
}
#endif
}
-
-bool ChromeBrowserPartsViews::MainMessageLoopRun(int* result_code) {
- return false;
-}
« no previous file with comments | « chrome/browser/chrome_browser_parts_views.h ('k') | chrome/browser/notifications/desktop_notification_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698