Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: ash/test/test_shell_delegate.h

Issue 10534053: ash/chromeos: "Search" key to toggle app list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for nit in #2 Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/shell_delegate.h ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
11 11
12 namespace ash { 12 namespace ash {
13 namespace test { 13 namespace test {
14 14
15 class TestShellDelegate : public ShellDelegate { 15 class TestShellDelegate : public ShellDelegate {
16 public: 16 public:
17 TestShellDelegate(); 17 TestShellDelegate();
18 virtual ~TestShellDelegate(); 18 virtual ~TestShellDelegate();
19 19
20 // Overridden from ShellDelegate: 20 // Overridden from ShellDelegate:
21 virtual bool IsUserLoggedIn() OVERRIDE; 21 virtual bool IsUserLoggedIn() OVERRIDE;
22 virtual void LockScreen() OVERRIDE; 22 virtual void LockScreen() OVERRIDE;
23 virtual void UnlockScreen() OVERRIDE; 23 virtual void UnlockScreen() OVERRIDE;
24 virtual bool IsScreenLocked() const OVERRIDE; 24 virtual bool IsScreenLocked() const OVERRIDE;
25 virtual void Shutdown() OVERRIDE; 25 virtual void Shutdown() OVERRIDE;
26 virtual void Exit() OVERRIDE; 26 virtual void Exit() OVERRIDE;
27 virtual void NewTab() OVERRIDE; 27 virtual void NewTab() OVERRIDE;
28 virtual void NewWindow(bool incognito) OVERRIDE; 28 virtual void NewWindow(bool incognito) OVERRIDE;
29 virtual void Search() OVERRIDE;
30 virtual void OpenFileManager() OVERRIDE; 29 virtual void OpenFileManager() OVERRIDE;
31 virtual void OpenCrosh() OVERRIDE; 30 virtual void OpenCrosh() OVERRIDE;
32 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; 31 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE;
33 virtual void RestoreTab() OVERRIDE; 32 virtual void RestoreTab() OVERRIDE;
34 virtual void ShowKeyboardOverlay() OVERRIDE; 33 virtual void ShowKeyboardOverlay() OVERRIDE;
35 virtual void ShowTaskManager() OVERRIDE; 34 virtual void ShowTaskManager() OVERRIDE;
36 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; 35 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE;
37 virtual void ToggleSpokenFeedback() OVERRIDE; 36 virtual void ToggleSpokenFeedback() OVERRIDE;
38 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; 37 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE;
39 virtual void StartPartialScreenshot( 38 virtual void StartPartialScreenshot(
40 ScreenshotDelegate* screenshot_delegate) OVERRIDE; 39 ScreenshotDelegate* screenshot_delegate) OVERRIDE;
41 virtual LauncherDelegate* CreateLauncherDelegate( 40 virtual LauncherDelegate* CreateLauncherDelegate(
42 ash::LauncherModel* model) OVERRIDE; 41 ash::LauncherModel* model) OVERRIDE;
43 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* t) OVERRIDE; 42 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* t) OVERRIDE;
44 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; 43 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE;
45 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; 44 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE;
46 45
47 private: 46 private:
48 bool locked_; 47 bool locked_;
49 48
50 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); 49 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate);
51 }; 50 };
52 51
53 } // namespace test 52 } // namespace test
54 } // namespace ash 53 } // namespace ash
55 54
56 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ 55 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell_delegate.h ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698