| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 virtual SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 45 virtual SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
| 46 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 46 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
| 47 virtual CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; | 47 virtual CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; |
| 48 virtual SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; | 48 virtual SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; |
| 49 virtual AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; | 49 virtual AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; |
| 50 virtual NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE; | 50 virtual NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE; |
| 51 virtual MediaDelegate* CreateMediaDelegate() OVERRIDE; | 51 virtual MediaDelegate* CreateMediaDelegate() OVERRIDE; |
| 52 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; | 52 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
| 53 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; | 53 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; |
| 54 virtual ui::MenuModel* CreateContextMenu(aura::Window* root) OVERRIDE; | 54 virtual ui::MenuModel* CreateContextMenu(aura::Window* root) OVERRIDE; |
| 55 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() OVERRIDE; | 55 virtual RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE; |
| 56 virtual base::string16 GetProductName() const OVERRIDE; | 56 virtual base::string16 GetProductName() const OVERRIDE; |
| 57 | 57 |
| 58 int num_exit_requests() const { return num_exit_requests_; } | 58 int num_exit_requests() const { return num_exit_requests_; } |
| 59 | 59 |
| 60 TestSessionStateDelegate* test_session_state_delegate(); | 60 TestSessionStateDelegate* test_session_state_delegate(); |
| 61 | 61 |
| 62 private: | 62 private: |
| 63 int num_exit_requests_; | 63 int num_exit_requests_; |
| 64 bool multi_profiles_enabled_; | 64 bool multi_profiles_enabled_; |
| 65 | 65 |
| 66 scoped_ptr<content::BrowserContext> current_browser_context_; | 66 scoped_ptr<content::BrowserContext> current_browser_context_; |
| 67 | 67 |
| 68 TestSessionStateDelegate* test_session_state_delegate_; // Not owned. | 68 TestSessionStateDelegate* test_session_state_delegate_; // Not owned. |
| 69 | 69 |
| 70 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 70 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace test | 73 } // namespace test |
| 74 } // namespace ash | 74 } // namespace ash |
| 75 | 75 |
| 76 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 76 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| OLD | NEW |