| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 void set_multi_profiles_enabled(bool multi_profiles_enabled) { | 28 void set_multi_profiles_enabled(bool multi_profiles_enabled) { |
| 29 multi_profiles_enabled_ = multi_profiles_enabled; | 29 multi_profiles_enabled_ = multi_profiles_enabled; |
| 30 } | 30 } |
| 31 | 31 |
| 32 // Overridden from ShellDelegate: | 32 // Overridden from ShellDelegate: |
| 33 virtual bool IsFirstRunAfterBoot() const OVERRIDE; | 33 virtual bool IsFirstRunAfterBoot() const OVERRIDE; |
| 34 virtual bool IsIncognitoAllowed() const OVERRIDE; | 34 virtual bool IsIncognitoAllowed() const OVERRIDE; |
| 35 virtual bool IsMultiProfilesEnabled() const OVERRIDE; | 35 virtual bool IsMultiProfilesEnabled() const OVERRIDE; |
| 36 virtual bool IsRunningInForcedAppMode() const OVERRIDE; | 36 virtual bool IsRunningInForcedAppMode() const OVERRIDE; |
| 37 virtual bool IsMultiAccountEnabled() const OVERRIDE; |
| 37 virtual void PreInit() OVERRIDE; | 38 virtual void PreInit() OVERRIDE; |
| 38 virtual void PreShutdown() OVERRIDE; | 39 virtual void PreShutdown() OVERRIDE; |
| 39 virtual void Exit() OVERRIDE; | 40 virtual void Exit() OVERRIDE; |
| 40 virtual keyboard::KeyboardControllerProxy* | 41 virtual keyboard::KeyboardControllerProxy* |
| 41 CreateKeyboardControllerProxy() OVERRIDE; | 42 CreateKeyboardControllerProxy() OVERRIDE; |
| 42 virtual void VirtualKeyboardActivated(bool activated) OVERRIDE; | 43 virtual void VirtualKeyboardActivated(bool activated) OVERRIDE; |
| 43 virtual void AddVirtualKeyboardStateObserver( | 44 virtual void AddVirtualKeyboardStateObserver( |
| 44 VirtualKeyboardStateObserver* observer) OVERRIDE; | 45 VirtualKeyboardStateObserver* observer) OVERRIDE; |
| 45 virtual void RemoveVirtualKeyboardStateObserver( | 46 virtual void RemoveVirtualKeyboardStateObserver( |
| 46 VirtualKeyboardStateObserver* observer) OVERRIDE; | 47 VirtualKeyboardStateObserver* observer) OVERRIDE; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 73 | 74 |
| 74 TestSessionStateDelegate* test_session_state_delegate_; // Not owned. | 75 TestSessionStateDelegate* test_session_state_delegate_; // Not owned. |
| 75 | 76 |
| 76 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 77 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
| 77 }; | 78 }; |
| 78 | 79 |
| 79 } // namespace test | 80 } // namespace test |
| 80 } // namespace ash | 81 } // namespace ash |
| 81 | 82 |
| 82 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 83 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| OLD | NEW |