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

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

Issue 964503002: Implemented ForceMaximizeBrowserWindowOnFirstRun policy, added unit test and browser test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed description Created 5 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
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 "ash/accessibility_delegate.h" 7 #include "ash/accessibility_delegate.h"
8 #include "ash/default_accessibility_delegate.h" 8 #include "ash/default_accessibility_delegate.h"
9 #include "ash/default_user_wallpaper_delegate.h" 9 #include "ash/default_user_wallpaper_delegate.h"
10 #include "ash/gpu_support_stub.h" 10 #include "ash/gpu_support_stub.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 } 174 }
175 175
176 bool ShellDelegateImpl::IsRunningInForcedAppMode() const { 176 bool ShellDelegateImpl::IsRunningInForcedAppMode() const {
177 return false; 177 return false;
178 } 178 }
179 179
180 bool ShellDelegateImpl::IsMultiAccountEnabled() const { 180 bool ShellDelegateImpl::IsMultiAccountEnabled() const {
181 return false; 181 return false;
182 } 182 }
183 183
184 bool ShellDelegateImpl::IsFirstTimeMaximized() const {
185 return true;
bartfab (slow) 2015/03/12 11:54:43 Nit: This dummy delegate should return the default
peletskyi 2015/03/18 13:28:09 Done.
186 }
187
184 void ShellDelegateImpl::PreInit() { 188 void ShellDelegateImpl::PreInit() {
185 } 189 }
186 190
187 void ShellDelegateImpl::PreShutdown() { 191 void ShellDelegateImpl::PreShutdown() {
188 } 192 }
189 193
190 void ShellDelegateImpl::Exit() { 194 void ShellDelegateImpl::Exit() {
191 base::MessageLoopForUI::current()->Quit(); 195 base::MessageLoopForUI::current()->Quit();
192 } 196 }
193 197
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // Real GPU support depends on src/content, so just use a stub. 261 // Real GPU support depends on src/content, so just use a stub.
258 return new GPUSupportStub; 262 return new GPUSupportStub;
259 } 263 }
260 264
261 base::string16 ShellDelegateImpl::GetProductName() const { 265 base::string16 ShellDelegateImpl::GetProductName() const {
262 return base::string16(); 266 return base::string16();
263 } 267 }
264 268
265 } // namespace shell 269 } // namespace shell
266 } // namespace ash 270 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | ash/shell_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698