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

Side by Side Diff: chrome/browser/chrome_browser_parts_aura.cc

Issue 8509027: Add status area to Aura builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move status area view ids back to chromeos 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/frame/browser_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chrome_browser_parts_aura.h" 5 #include "chrome/browser/chrome_browser_parts_aura.h"
6 #include "chrome/browser/ui/views/aura/chrome_shell_delegate.h" 6 #include "chrome/browser/ui/views/aura/chrome_shell_delegate.h"
7 #include "ui/aura/desktop.h" 7 #include "ui/aura/desktop.h"
8 #include "ui/aura_shell/shell.h" 8 #include "ui/aura_shell/shell.h"
9 9
10 #if defined(OS_CHROMEOS) 10 #if defined(OS_CHROMEOS)
(...skipping 19 matching lines...) Expand all
30 void ChromeBrowserPartsAura::PostMainMessageLoopStart() { 30 void ChromeBrowserPartsAura::PostMainMessageLoopStart() {
31 } 31 }
32 32
33 void ChromeBrowserPartsAura::PreMainMessageLoopRun() { 33 void ChromeBrowserPartsAura::PreMainMessageLoopRun() {
34 #if defined(OS_CHROMEOS) 34 #if defined(OS_CHROMEOS)
35 if (chromeos::system::runtime_environment::IsRunningOnChromeOS()) 35 if (chromeos::system::runtime_environment::IsRunningOnChromeOS())
36 aura::Desktop::set_use_fullscreen_host_window(true); 36 aura::Desktop::set_use_fullscreen_host_window(true);
37 #endif 37 #endif
38 38
39 // Shell takes ownership of ChromeShellDelegate. 39 // Shell takes ownership of ChromeShellDelegate.
40 aura_shell::Shell::GetInstance()->SetDelegate(new ChromeShellDelegate); 40 aura_shell::Shell::CreateInstance(new ChromeShellDelegate);
41 } 41 }
42 42
43 bool ChromeBrowserPartsAura::MainMessageLoopRun(int* result_code) { 43 bool ChromeBrowserPartsAura::MainMessageLoopRun(int* result_code) {
44 return false; 44 return false;
45 } 45 }
46 46
47 void ChromeBrowserPartsAura::PostMainMessageLoopRun() { 47 void ChromeBrowserPartsAura::PostMainMessageLoopRun() {
48 } 48 }
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698