| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ash/shell_delegate.h" | 9 #include "ash/shell_delegate.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 virtual void NewWindow(bool incognito) OVERRIDE; | 28 virtual void NewWindow(bool incognito) OVERRIDE; |
| 29 virtual void OpenFileManager(bool as_dialog) OVERRIDE; | 29 virtual void OpenFileManager(bool as_dialog) OVERRIDE; |
| 30 virtual void OpenCrosh() OVERRIDE; | 30 virtual void OpenCrosh() OVERRIDE; |
| 31 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; | 31 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; |
| 32 virtual void RestoreTab() OVERRIDE; | 32 virtual void RestoreTab() OVERRIDE; |
| 33 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; | 33 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; |
| 34 virtual void ShowKeyboardOverlay() OVERRIDE; | 34 virtual void ShowKeyboardOverlay() OVERRIDE; |
| 35 virtual void ShowTaskManager() OVERRIDE; | 35 virtual void ShowTaskManager() OVERRIDE; |
| 36 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; | 36 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; |
| 37 virtual void ToggleSpokenFeedback() OVERRIDE; | 37 virtual void ToggleSpokenFeedback() OVERRIDE; |
| 38 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; |
| 38 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 39 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
| 39 virtual void StartPartialScreenshot( | 40 virtual void StartPartialScreenshot( |
| 40 ScreenshotDelegate* screenshot_delegate) OVERRIDE; | 41 ScreenshotDelegate* screenshot_delegate) OVERRIDE; |
| 41 virtual LauncherDelegate* CreateLauncherDelegate( | 42 virtual LauncherDelegate* CreateLauncherDelegate( |
| 42 ash::LauncherModel* model) OVERRIDE; | 43 ash::LauncherModel* model) OVERRIDE; |
| 43 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* t) OVERRIDE; | 44 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* t) OVERRIDE; |
| 44 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 45 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
| 45 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; | 46 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
| 46 | 47 |
| 47 private: | 48 private: |
| 48 bool locked_; | 49 bool locked_; |
| 50 bool spoken_feedback_enabled_; |
| 49 | 51 |
| 50 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 52 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
| 51 }; | 53 }; |
| 52 | 54 |
| 53 } // namespace test | 55 } // namespace test |
| 54 } // namespace ash | 56 } // namespace ash |
| 55 | 57 |
| 56 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 58 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| OLD | NEW |