| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 virtual void HandleMediaPlayPause() OVERRIDE; | 75 virtual void HandleMediaPlayPause() OVERRIDE; |
| 76 virtual void HandleMediaPrevTrack() OVERRIDE; | 76 virtual void HandleMediaPrevTrack() OVERRIDE; |
| 77 virtual base::string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE; | 77 virtual base::string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE; |
| 78 virtual base::string16 GetTimeDurationLongString( | 78 virtual base::string16 GetTimeDurationLongString( |
| 79 base::TimeDelta delta) OVERRIDE; | 79 base::TimeDelta delta) OVERRIDE; |
| 80 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; | 80 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; |
| 81 virtual double GetSavedScreenMagnifierScale() OVERRIDE; | 81 virtual double GetSavedScreenMagnifierScale() OVERRIDE; |
| 82 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root) OVERRIDE; | 82 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root) OVERRIDE; |
| 83 virtual RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE; | 83 virtual RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE; |
| 84 virtual base::string16 GetProductName() const OVERRIDE; | 84 virtual base::string16 GetProductName() const OVERRIDE; |
| 85 virtual bool IsTouchHudProjectionEnabled() const OVERRIDE; |
| 86 virtual void ToggleTouchHudProjection() OVERRIDE; |
| 85 | 87 |
| 86 int num_exit_requests() const { return num_exit_requests_; } | 88 int num_exit_requests() const { return num_exit_requests_; } |
| 87 | 89 |
| 88 TestSessionStateDelegate* test_session_state_delegate(); | 90 TestSessionStateDelegate* test_session_state_delegate(); |
| 89 | 91 |
| 90 private: | 92 private: |
| 91 bool spoken_feedback_enabled_; | 93 bool spoken_feedback_enabled_; |
| 92 bool high_contrast_enabled_; | 94 bool high_contrast_enabled_; |
| 93 bool screen_magnifier_enabled_; | 95 bool screen_magnifier_enabled_; |
| 94 MagnifierType screen_magnifier_type_; | 96 MagnifierType screen_magnifier_type_; |
| 95 bool large_cursor_enabled_; | 97 bool large_cursor_enabled_; |
| 96 int num_exit_requests_; | 98 int num_exit_requests_; |
| 97 bool multi_profiles_enabled_; | 99 bool multi_profiles_enabled_; |
| 98 | 100 |
| 99 scoped_ptr<content::BrowserContext> current_browser_context_; | 101 scoped_ptr<content::BrowserContext> current_browser_context_; |
| 100 | 102 |
| 101 TestSessionStateDelegate* test_session_state_delegate_; // Not owned. | 103 TestSessionStateDelegate* test_session_state_delegate_; // Not owned. |
| 102 | 104 |
| 103 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 105 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
| 104 }; | 106 }; |
| 105 | 107 |
| 106 } // namespace test | 108 } // namespace test |
| 107 } // namespace ash | 109 } // namespace ash |
| 108 | 110 |
| 109 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 111 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| OLD | NEW |