| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override; | 52 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override; |
| 53 TestSessionStateDelegate* CreateSessionStateDelegate() override; | 53 TestSessionStateDelegate* CreateSessionStateDelegate() override; |
| 54 AccessibilityDelegate* CreateAccessibilityDelegate() override; | 54 AccessibilityDelegate* CreateAccessibilityDelegate() override; |
| 55 MediaDelegate* CreateMediaDelegate() override; | 55 MediaDelegate* CreateMediaDelegate() override; |
| 56 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; | 56 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; |
| 57 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, | 57 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, |
| 58 const ShelfItem* item) override; | 58 const ShelfItem* item) override; |
| 59 GPUSupport* CreateGPUSupport() override; | 59 GPUSupport* CreateGPUSupport() override; |
| 60 base::string16 GetProductName() const override; | 60 base::string16 GetProductName() const override; |
| 61 gfx::Image GetDeprecatedAcceleratorImage() const override; | 61 gfx::Image GetDeprecatedAcceleratorImage() const override; |
| 62 bool IsTouchscreenEnabled() const override; |
| 63 void SetTouchscreenEnabled(bool enabled) override; |
| 62 | 64 |
| 63 int num_exit_requests() const { return num_exit_requests_; } | 65 int num_exit_requests() const { return num_exit_requests_; } |
| 64 | 66 |
| 65 app_list::AppListPresenterImpl* app_list_presenter() { | 67 app_list::AppListPresenterImpl* app_list_presenter() { |
| 66 return app_list_presenter_.get(); | 68 return app_list_presenter_.get(); |
| 67 } | 69 } |
| 68 | 70 |
| 69 void SetMediaCaptureState(MediaCaptureState state); | 71 void SetMediaCaptureState(MediaCaptureState state); |
| 70 void SetForceMaximizeOnFirstRun(bool maximize) { | 72 void SetForceMaximizeOnFirstRun(bool maximize) { |
| 71 force_maximize_on_first_run_ = maximize; | 73 force_maximize_on_first_run_ = maximize; |
| 72 } | 74 } |
| 73 | 75 |
| 74 private: | 76 private: |
| 75 int num_exit_requests_; | 77 int num_exit_requests_; |
| 76 bool multi_profiles_enabled_; | 78 bool multi_profiles_enabled_; |
| 77 bool force_maximize_on_first_run_; | 79 bool force_maximize_on_first_run_; |
| 80 bool touch_screen_enabled_; |
| 78 | 81 |
| 79 std::unique_ptr<app_list::AppListPresenterDelegateFactory> | 82 std::unique_ptr<app_list::AppListPresenterDelegateFactory> |
| 80 app_list_presenter_delegate_factory_; | 83 app_list_presenter_delegate_factory_; |
| 81 std::unique_ptr<app_list::AppListPresenterImpl> app_list_presenter_; | 84 std::unique_ptr<app_list::AppListPresenterImpl> app_list_presenter_; |
| 82 | 85 |
| 83 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 86 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
| 84 }; | 87 }; |
| 85 | 88 |
| 86 } // namespace test | 89 } // namespace test |
| 87 } // namespace ash | 90 } // namespace ash |
| 88 | 91 |
| 89 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 92 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| OLD | NEW |