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

Unified Diff: chrome/browser/chrome_browser_main_extra_parts_views.cc

Issue 8480032: Add ChromeBrowserMainExtraParts for non main parts. (take 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_views.h ('k') | chrome/browser/chrome_browser_main_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main_extra_parts_views.cc
diff --git a/chrome/browser/chrome_browser_parts_views.cc b/chrome/browser/chrome_browser_main_extra_parts_views.cc
similarity index 69%
rename from chrome/browser/chrome_browser_parts_views.cc
rename to chrome/browser/chrome_browser_main_extra_parts_views.cc
index 328eb7c2a003aa5cde4fac564ae4d41906146326..af505df0295f640d2b5d11e74b3f1d5473154f41 100644
--- a/chrome/browser/chrome_browser_parts_views.cc
+++ b/chrome/browser/chrome_browser_main_extra_parts_views.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/chrome_browser_parts_views.h"
+#include "chrome/browser/chrome_browser_main_extra_parts_views.h"
#include <string>
@@ -11,11 +11,11 @@
#include "chrome/common/chrome_switches.h"
#include "views/widget/widget.h"
-ChromeBrowserPartsViews::ChromeBrowserPartsViews()
- : content::BrowserMainParts() {
+ChromeBrowserMainExtraPartsViews::ChromeBrowserMainExtraPartsViews()
+ : ChromeBrowserMainExtraParts() {
}
-void ChromeBrowserPartsViews::ToolkitInitialized() {
+void ChromeBrowserMainExtraPartsViews::ToolkitInitialized() {
// The delegate needs to be set before any UI is created so that windows
// display the correct icon.
if (!views::ViewsDelegate::views_delegate)
@@ -25,10 +25,3 @@ void ChromeBrowserPartsViews::ToolkitInitialized() {
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDebugViewsPaint))
views::Widget::SetDebugPaintEnabled(true);
}
-
-void ChromeBrowserPartsViews::PreMainMessageLoopRun() {
-}
-
-bool ChromeBrowserPartsViews::MainMessageLoopRun(int* result_code) {
- return false;
-}
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_views.h ('k') | chrome/browser/chrome_browser_main_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698