| OLD | NEW |
| 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_TEST_TEST_SHELL_DELEGATE_H_ | 5 #ifndef ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| 6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_ | 6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 void set_multi_profiles_enabled(bool multi_profiles_enabled) { | 35 void set_multi_profiles_enabled(bool multi_profiles_enabled) { |
| 36 multi_profiles_enabled_ = multi_profiles_enabled; | 36 multi_profiles_enabled_ = multi_profiles_enabled; |
| 37 } | 37 } |
| 38 | 38 |
| 39 // Overridden from ShellDelegate: | 39 // Overridden from ShellDelegate: |
| 40 bool IsFirstRunAfterBoot() const override; | 40 bool IsFirstRunAfterBoot() const override; |
| 41 bool IsIncognitoAllowed() const override; | 41 bool IsIncognitoAllowed() const override; |
| 42 bool IsMultiProfilesEnabled() const override; | 42 bool IsMultiProfilesEnabled() const override; |
| 43 bool IsRunningInForcedAppMode() const override; | 43 bool IsRunningInForcedAppMode() const override; |
| 44 bool CanShowWindowForUser(aura::Window* window) const override; | 44 bool CanShowWindowForUser(WmWindow* window) const override; |
| 45 bool IsForceMaximizeOnFirstRun() const override; | 45 bool IsForceMaximizeOnFirstRun() const override; |
| 46 void PreInit() override; | 46 void PreInit() override; |
| 47 void PreShutdown() override; | 47 void PreShutdown() override; |
| 48 void Exit() override; | 48 void Exit() override; |
| 49 keyboard::KeyboardUI* CreateKeyboardUI() override; | 49 keyboard::KeyboardUI* CreateKeyboardUI() override; |
| 50 void VirtualKeyboardActivated(bool activated) override; | 50 void VirtualKeyboardActivated(bool activated) override; |
| 51 void AddVirtualKeyboardStateObserver( | 51 void AddVirtualKeyboardStateObserver( |
| 52 VirtualKeyboardStateObserver* observer) override; | 52 VirtualKeyboardStateObserver* observer) override; |
| 53 void RemoveVirtualKeyboardStateObserver( | 53 void RemoveVirtualKeyboardStateObserver( |
| 54 VirtualKeyboardStateObserver* observer) override; | 54 VirtualKeyboardStateObserver* observer) override; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 base::ObserverList<ash::VirtualKeyboardStateObserver> | 93 base::ObserverList<ash::VirtualKeyboardStateObserver> |
| 94 keyboard_state_observer_list_; | 94 keyboard_state_observer_list_; |
| 95 | 95 |
| 96 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 96 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 } // namespace test | 99 } // namespace test |
| 100 } // namespace ash | 100 } // namespace ash |
| 101 | 101 |
| 102 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 102 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| OLD | NEW |