| 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" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 | 13 |
| 14 namespace keyboard { |
| 15 class KeyboardControllerProxy; |
| 16 } |
| 17 |
| 14 namespace ash { | 18 namespace ash { |
| 15 namespace test { | 19 namespace test { |
| 16 | 20 |
| 17 class AshTestBase; | 21 class AshTestBase; |
| 18 | 22 |
| 19 class TestShellDelegate : public ShellDelegate { | 23 class TestShellDelegate : public ShellDelegate { |
| 20 public: | 24 public: |
| 21 TestShellDelegate(); | 25 TestShellDelegate(); |
| 22 virtual ~TestShellDelegate(); | 26 virtual ~TestShellDelegate(); |
| 23 | 27 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 36 virtual void Exit() OVERRIDE; | 40 virtual void Exit() OVERRIDE; |
| 37 virtual void NewTab() OVERRIDE; | 41 virtual void NewTab() OVERRIDE; |
| 38 virtual void NewWindow(bool incognito) OVERRIDE; | 42 virtual void NewWindow(bool incognito) OVERRIDE; |
| 39 virtual void ToggleMaximized() OVERRIDE; | 43 virtual void ToggleMaximized() OVERRIDE; |
| 40 virtual void OpenFileManager(bool as_dialog) OVERRIDE; | 44 virtual void OpenFileManager(bool as_dialog) OVERRIDE; |
| 41 virtual void OpenCrosh() OVERRIDE; | 45 virtual void OpenCrosh() OVERRIDE; |
| 42 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; | 46 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; |
| 43 virtual void RestoreTab() OVERRIDE; | 47 virtual void RestoreTab() OVERRIDE; |
| 44 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; | 48 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; |
| 45 virtual void ShowKeyboardOverlay() OVERRIDE; | 49 virtual void ShowKeyboardOverlay() OVERRIDE; |
| 50 virtual keyboard::KeyboardControllerProxy* |
| 51 CreateKeyboardControllerProxy() OVERRIDE; |
| 46 virtual void ShowTaskManager() OVERRIDE; | 52 virtual void ShowTaskManager() OVERRIDE; |
| 47 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; | 53 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; |
| 48 virtual void ToggleSpokenFeedback( | 54 virtual void ToggleSpokenFeedback( |
| 49 AccessibilityNotificationVisibility notify) OVERRIDE; | 55 AccessibilityNotificationVisibility notify) OVERRIDE; |
| 50 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; | 56 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; |
| 51 virtual void ToggleHighContrast() OVERRIDE; | 57 virtual void ToggleHighContrast() OVERRIDE; |
| 52 virtual bool IsHighContrastEnabled() const OVERRIDE; | 58 virtual bool IsHighContrastEnabled() const OVERRIDE; |
| 53 virtual void SetMagnifierEnabled(bool enabled) OVERRIDE; | 59 virtual void SetMagnifierEnabled(bool enabled) OVERRIDE; |
| 54 virtual void SetMagnifierType(MagnifierType type) OVERRIDE; | 60 virtual void SetMagnifierType(MagnifierType type) OVERRIDE; |
| 55 virtual bool IsMagnifierEnabled() const OVERRIDE; | 61 virtual bool IsMagnifierEnabled() const OVERRIDE; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 116 |
| 111 scoped_ptr<content::BrowserContext> current_browser_context_; | 117 scoped_ptr<content::BrowserContext> current_browser_context_; |
| 112 | 118 |
| 113 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 119 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
| 114 }; | 120 }; |
| 115 | 121 |
| 116 } // namespace test | 122 } // namespace test |
| 117 } // namespace ash | 123 } // namespace ash |
| 118 | 124 |
| 119 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 125 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| OLD | NEW |