| 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 12 matching lines...) Expand all Loading... |
| 23 class TestShellDelegate : public ShellDelegate { | 23 class TestShellDelegate : public ShellDelegate { |
| 24 public: | 24 public: |
| 25 TestShellDelegate(); | 25 TestShellDelegate(); |
| 26 virtual ~TestShellDelegate(); | 26 virtual ~TestShellDelegate(); |
| 27 | 27 |
| 28 // Overridden from ShellDelegate: | 28 // Overridden from ShellDelegate: |
| 29 virtual bool IsUserLoggedIn() const OVERRIDE; | 29 virtual bool IsUserLoggedIn() const OVERRIDE; |
| 30 virtual bool IsSessionStarted() const OVERRIDE; | 30 virtual bool IsSessionStarted() const OVERRIDE; |
| 31 virtual bool IsGuestSession() const OVERRIDE; | 31 virtual bool IsGuestSession() const OVERRIDE; |
| 32 virtual bool IsFirstRunAfterBoot() const OVERRIDE; | 32 virtual bool IsFirstRunAfterBoot() const OVERRIDE; |
| 33 virtual bool IsMultiProfilesEnabled() const OVERRIDE; |
| 33 virtual bool IsRunningInForcedAppMode() const OVERRIDE; | 34 virtual bool IsRunningInForcedAppMode() const OVERRIDE; |
| 34 virtual bool CanLockScreen() const OVERRIDE; | 35 virtual bool CanLockScreen() const OVERRIDE; |
| 35 virtual void LockScreen() OVERRIDE; | 36 virtual void LockScreen() OVERRIDE; |
| 36 virtual void UnlockScreen() OVERRIDE; | 37 virtual void UnlockScreen() OVERRIDE; |
| 37 virtual bool IsScreenLocked() const OVERRIDE; | 38 virtual bool IsScreenLocked() const OVERRIDE; |
| 38 virtual void PreInit() OVERRIDE; | 39 virtual void PreInit() OVERRIDE; |
| 39 virtual void Shutdown() OVERRIDE; | 40 virtual void Shutdown() OVERRIDE; |
| 40 virtual void Exit() OVERRIDE; | 41 virtual void Exit() OVERRIDE; |
| 41 virtual void NewTab() OVERRIDE; | 42 virtual void NewTab() OVERRIDE; |
| 42 virtual void NewWindow(bool incognito) OVERRIDE; | 43 virtual void NewWindow(bool incognito) OVERRIDE; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 118 |
| 118 scoped_ptr<content::BrowserContext> current_browser_context_; | 119 scoped_ptr<content::BrowserContext> current_browser_context_; |
| 119 | 120 |
| 120 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 121 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
| 121 }; | 122 }; |
| 122 | 123 |
| 123 } // namespace test | 124 } // namespace test |
| 124 } // namespace ash | 125 } // namespace ash |
| 125 | 126 |
| 126 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 127 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| OLD | NEW |