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

Side by Side Diff: chrome/browser/ui/ash/chrome_shell_delegate.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
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 CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/shelf/shelf_item_types.h" 10 #include "ash/shelf/shelf_item_types.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 ~ChromeShellDelegate() override; 45 ~ChromeShellDelegate() override;
46 46
47 static ChromeShellDelegate* instance() { return instance_; } 47 static ChromeShellDelegate* instance() { return instance_; }
48 48
49 // ash::ShellDelegate overrides; 49 // ash::ShellDelegate overrides;
50 bool IsFirstRunAfterBoot() const override; 50 bool IsFirstRunAfterBoot() const override;
51 bool IsMultiProfilesEnabled() const override; 51 bool IsMultiProfilesEnabled() const override;
52 bool IsIncognitoAllowed() const override; 52 bool IsIncognitoAllowed() const override;
53 bool IsRunningInForcedAppMode() const override; 53 bool IsRunningInForcedAppMode() const override;
54 bool IsMultiAccountEnabled() const override; 54 bool IsMultiAccountEnabled() const override;
55 bool IsForceMaximizeOnFirstRun() const override;
55 void PreInit() override; 56 void PreInit() override;
56 void PreShutdown() override; 57 void PreShutdown() override;
57 void Exit() override; 58 void Exit() override;
58 keyboard::KeyboardControllerProxy* CreateKeyboardControllerProxy() override; 59 keyboard::KeyboardControllerProxy* CreateKeyboardControllerProxy() override;
59 void VirtualKeyboardActivated(bool activated) override; 60 void VirtualKeyboardActivated(bool activated) override;
60 void AddVirtualKeyboardStateObserver( 61 void AddVirtualKeyboardStateObserver(
61 ash::VirtualKeyboardStateObserver* observer) override; 62 ash::VirtualKeyboardStateObserver* observer) override;
62 void RemoveVirtualKeyboardStateObserver( 63 void RemoveVirtualKeyboardStateObserver(
63 ash::VirtualKeyboardStateObserver* observer) override; 64 ash::VirtualKeyboardStateObserver* observer) override;
64 content::BrowserContext* GetActiveBrowserContext() override; 65 content::BrowserContext* GetActiveBrowserContext() override;
(...skipping 29 matching lines...) Expand all
94 95
95 #if defined(OS_CHROMEOS) 96 #if defined(OS_CHROMEOS)
96 scoped_ptr<chromeos::DisplayConfigurationObserver> 97 scoped_ptr<chromeos::DisplayConfigurationObserver>
97 display_configuration_observer_; 98 display_configuration_observer_;
98 #endif 99 #endif
99 100
100 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); 101 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
101 }; 102 };
102 103
103 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 104 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_handler_list_factory.cc ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698