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

Unified Diff: chrome/browser/chrome_browser_main_extra_parts_aura.cc

Issue 8488015: Revert 110327 - Add ChromeBrowserParts for non main parts. (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_main_extra_parts_aura.cc
===================================================================
--- chrome/browser/chrome_browser_main_extra_parts_aura.cc (revision 110349)
+++ chrome/browser/chrome_browser_main_extra_parts_aura.cc (working copy)
@@ -1,26 +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_main_extra_parts_aura.h"
-#include "chrome/browser/ui/views/aura/chrome_shell_delegate.h"
-#include "ui/aura/desktop.h"
-#include "ui/aura_shell/shell.h"
-
-#if defined(OS_CHROMEOS)
-#include "chrome/browser/chromeos/system/runtime_environment.h"
-#endif
-
-ChromeBrowserMainExtraPartsAura::ChromeBrowserMainExtraPartsAura()
- : ChromeBrowserMainExtraParts() {
-}
-
-void ChromeBrowserMainExtraPartsAura::PostBrowserProcessInit() {
-#if defined(OS_CHROMEOS)
- if (chromeos::system::runtime_environment::IsRunningOnChromeOS())
- aura::Desktop::set_use_fullscreen_host_window(true);
-#endif
-
- // Shell takes ownership of ChromeShellDelegate.
- aura_shell::Shell::CreateInstance(new ChromeShellDelegate);
-}
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_aura.h ('k') | chrome/browser/chrome_browser_main_extra_parts_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698