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/media_delegate.h" | 10 #include "ash/media_delegate.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 UserWallpaperDelegate* CreateUserWallpaperDelegate() override; | 53 UserWallpaperDelegate* CreateUserWallpaperDelegate() override; |
54 TestSessionStateDelegate* CreateSessionStateDelegate() override; | 54 TestSessionStateDelegate* CreateSessionStateDelegate() override; |
55 AccessibilityDelegate* CreateAccessibilityDelegate() override; | 55 AccessibilityDelegate* CreateAccessibilityDelegate() override; |
56 NewWindowDelegate* CreateNewWindowDelegate() override; | 56 NewWindowDelegate* CreateNewWindowDelegate() override; |
57 MediaDelegate* CreateMediaDelegate() override; | 57 MediaDelegate* CreateMediaDelegate() override; |
58 ui::MenuModel* CreateContextMenu(aura::Window* root, | 58 ui::MenuModel* CreateContextMenu(aura::Window* root, |
59 ash::ShelfItemDelegate* item_delegate, | 59 ash::ShelfItemDelegate* item_delegate, |
60 ash::ShelfItem* item) override; | 60 ash::ShelfItem* item) override; |
61 GPUSupport* CreateGPUSupport() override; | 61 GPUSupport* CreateGPUSupport() override; |
62 base::string16 GetProductName() const override; | 62 base::string16 GetProductName() const override; |
| 63 gfx::Image GetDeprecatedAcceleratorImage() const override; |
63 | 64 |
64 int num_exit_requests() const { return num_exit_requests_; } | 65 int num_exit_requests() const { return num_exit_requests_; } |
65 | 66 |
66 void SetMediaCaptureState(MediaCaptureState state); | 67 void SetMediaCaptureState(MediaCaptureState state); |
67 void SetForceMaximizeOnFirstRun(bool maximize) { | 68 void SetForceMaximizeOnFirstRun(bool maximize) { |
68 force_maximize_on_first_run_ = maximize; | 69 force_maximize_on_first_run_ = maximize; |
69 }; | 70 }; |
70 | 71 |
71 private: | 72 private: |
72 int num_exit_requests_; | 73 int num_exit_requests_; |
73 bool multi_profiles_enabled_; | 74 bool multi_profiles_enabled_; |
74 bool force_maximize_on_first_run_; | 75 bool force_maximize_on_first_run_; |
75 | 76 |
76 scoped_ptr<content::BrowserContext> active_browser_context_; | 77 scoped_ptr<content::BrowserContext> active_browser_context_; |
77 scoped_ptr<app_list::AppListViewDelegate> app_list_view_delegate_; | 78 scoped_ptr<app_list::AppListViewDelegate> app_list_view_delegate_; |
78 | 79 |
79 base::ObserverList<ash::VirtualKeyboardStateObserver> | 80 base::ObserverList<ash::VirtualKeyboardStateObserver> |
80 keyboard_state_observer_list_; | 81 keyboard_state_observer_list_; |
81 | 82 |
82 TestSessionStateDelegate* test_session_state_delegate_; // Not owned. | 83 TestSessionStateDelegate* test_session_state_delegate_; // Not owned. |
83 | 84 |
84 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 85 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
85 }; | 86 }; |
86 | 87 |
87 } // namespace test | 88 } // namespace test |
88 } // namespace ash | 89 } // namespace ash |
89 | 90 |
90 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 91 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
OLD | NEW |