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

Unified Diff: chrome/browser/chrome_browser_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_parts_views.h ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 328eb7c2a003aa5cde4fac564ae4d41906146326..0000000000000000000000000000000000000000
--- a/chrome/browser/chrome_browser_parts_views.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// 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 <string>
-
-#include "base/command_line.h"
-#include "chrome/browser/ui/views/chrome_views_delegate.h"
-#include "chrome/common/chrome_switches.h"
-#include "views/widget/widget.h"
-
-ChromeBrowserPartsViews::ChromeBrowserPartsViews()
- : content::BrowserMainParts() {
-}
-
-void ChromeBrowserPartsViews::ToolkitInitialized() {
- // The delegate needs to be set before any UI is created so that windows
- // display the correct icon.
- if (!views::ViewsDelegate::views_delegate)
- views::ViewsDelegate::views_delegate = new ChromeViewsDelegate;
-
- // TODO(beng): Move to WidgetImpl and implement on Windows too!
- 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_parts_views.h ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698