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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/chrome_browser_main_extra_parts_aura.h"
6 #include "chrome/browser/ui/views/aura/chrome_shell_delegate.h"
7 #include "ui/aura/desktop.h"
8 #include "ui/aura_shell/shell.h"
9
10 #if defined(OS_CHROMEOS)
11 #include "chrome/browser/chromeos/system/runtime_environment.h"
12 #endif
13
14 ChromeBrowserMainExtraPartsAura::ChromeBrowserMainExtraPartsAura()
15 : ChromeBrowserMainExtraParts() {
16 }
17
18 void ChromeBrowserMainExtraPartsAura::PostBrowserProcessInit() {
19 #if defined(OS_CHROMEOS)
20 if (chromeos::system::runtime_environment::IsRunningOnChromeOS())
21 aura::Desktop::set_use_fullscreen_host_window(true);
22 #endif
23
24 // Shell takes ownership of ChromeShellDelegate.
25 aura_shell::Shell::CreateInstance(new ChromeShellDelegate);
26 }
OLDNEW
« 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