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

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

Issue 964503002: Implemented ForceMaximizeBrowserWindowOnFirstRun policy, added unit test and browser test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | ash/shell/shell_delegate_impl.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) 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 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 5 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_
6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/shell_delegate.h" 10 #include "ash/shell_delegate.h"
(...skipping 21 matching lines...) Expand all
32 void SetWatcher(WindowWatcher* watcher); 32 void SetWatcher(WindowWatcher* watcher);
33 void set_browser_context(content::BrowserContext* browser_context) { 33 void set_browser_context(content::BrowserContext* browser_context) {
34 browser_context_ = browser_context; 34 browser_context_ = browser_context;
35 } 35 }
36 36
37 bool IsFirstRunAfterBoot() const override; 37 bool IsFirstRunAfterBoot() const override;
38 bool IsIncognitoAllowed() const override; 38 bool IsIncognitoAllowed() const override;
39 bool IsMultiProfilesEnabled() const override; 39 bool IsMultiProfilesEnabled() const override;
40 bool IsRunningInForcedAppMode() const override; 40 bool IsRunningInForcedAppMode() const override;
41 bool IsMultiAccountEnabled() const override; 41 bool IsMultiAccountEnabled() const override;
42 bool ForceMaximizeOnFirstRun() const override;
oshima 2015/04/07 16:52:15 Can you follow the same pattern as other methods (
peletskyi 2015/04/07 17:40:43 Done.
42 void PreInit() override; 43 void PreInit() override;
43 void PreShutdown() override; 44 void PreShutdown() override;
44 void Exit() override; 45 void Exit() override;
45 keyboard::KeyboardControllerProxy* CreateKeyboardControllerProxy() override; 46 keyboard::KeyboardControllerProxy* CreateKeyboardControllerProxy() override;
46 void VirtualKeyboardActivated(bool activated) override; 47 void VirtualKeyboardActivated(bool activated) override;
47 void AddVirtualKeyboardStateObserver( 48 void AddVirtualKeyboardStateObserver(
48 VirtualKeyboardStateObserver* observer) override; 49 VirtualKeyboardStateObserver* observer) override;
49 void RemoveVirtualKeyboardStateObserver( 50 void RemoveVirtualKeyboardStateObserver(
50 VirtualKeyboardStateObserver* observer) override; 51 VirtualKeyboardStateObserver* observer) override;
51 content::BrowserContext* GetActiveBrowserContext() override; 52 content::BrowserContext* GetActiveBrowserContext() override;
(...skipping 19 matching lines...) Expand all
71 content::BrowserContext* browser_context_; 72 content::BrowserContext* browser_context_;
72 scoped_ptr<app_list::AppListViewDelegate> app_list_view_delegate_; 73 scoped_ptr<app_list::AppListViewDelegate> app_list_view_delegate_;
73 74
74 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); 75 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
75 }; 76 };
76 77
77 } // namespace shell 78 } // namespace shell
78 } // namespace ash 79 } // namespace ash
79 80
80 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 81 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698