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

Side by Side Diff: ash/shell/shell_delegate_impl.cc

Issue 12505005: Store rotation/ui scale to local state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months 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 | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ash/shell/shell_delegate_impl.h" 5 #include "ash/shell/shell_delegate_impl.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "ash/caps_lock_delegate_stub.h" 9 #include "ash/caps_lock_delegate_stub.h"
10 #include "ash/host/root_window_host_factory.h" 10 #include "ash/host/root_window_host_factory.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 void ShellDelegateImpl::UnlockScreen() { 72 void ShellDelegateImpl::UnlockScreen() {
73 locked_ = false; 73 locked_ = false;
74 ash::Shell::GetInstance()->UpdateShelfVisibility(); 74 ash::Shell::GetInstance()->UpdateShelfVisibility();
75 } 75 }
76 76
77 bool ShellDelegateImpl::IsScreenLocked() const { 77 bool ShellDelegateImpl::IsScreenLocked() const {
78 return locked_; 78 return locked_;
79 } 79 }
80 80
81 void ShellDelegateImpl::OnPreInit() const {
82 }
83
81 void ShellDelegateImpl::Shutdown() { 84 void ShellDelegateImpl::Shutdown() {
82 } 85 }
83 86
84 void ShellDelegateImpl::Exit() { 87 void ShellDelegateImpl::Exit() {
85 MessageLoopForUI::current()->Quit(); 88 MessageLoopForUI::current()->Quit();
86 } 89 }
87 90
88 void ShellDelegateImpl::NewTab() { 91 void ShellDelegateImpl::NewTab() {
89 } 92 }
90 93
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 RootWindowHostFactory* ShellDelegateImpl::CreateRootWindowHostFactory() { 230 RootWindowHostFactory* ShellDelegateImpl::CreateRootWindowHostFactory() {
228 return RootWindowHostFactory::Create(); 231 return RootWindowHostFactory::Create();
229 } 232 }
230 233
231 string16 ShellDelegateImpl::GetProductName() const { 234 string16 ShellDelegateImpl::GetProductName() const {
232 return string16(); 235 return string16();
233 } 236 }
234 237
235 } // namespace shell 238 } // namespace shell
236 } // namespace ash 239 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698