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

Unified Diff: chrome/browser/chrome_browser_main_extra_parts_aura.cc

Issue 8596015: Revert 110710 - Add ChromeBrowserMainExtraParts 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
diff --git a/chrome/browser/chrome_browser_main_extra_parts_aura.cc b/chrome/browser/chrome_browser_main_extra_parts_aura.cc
deleted file mode 100644
index ea5214f114c8178cc806b6695e65fff237d9af85..0000000000000000000000000000000000000000
--- a/chrome/browser/chrome_browser_main_extra_parts_aura.cc
+++ /dev/null
@@ -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