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

Side by Side Diff: ash/shell_delegate.h

Issue 10543158: Do not toggle Applist with Search key press when accessibility is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge similar functions 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
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_SHELL_DELEGATE_H_ 5 #ifndef ASH_SHELL_DELEGATE_H_
6 #define ASH_SHELL_DELEGATE_H_ 6 #define ASH_SHELL_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Shows the task manager window. 90 // Shows the task manager window.
91 virtual void ShowTaskManager() = 0; 91 virtual void ShowTaskManager() = 0;
92 92
93 // Get the current browser context. This will get us the current profile. 93 // Get the current browser context. This will get us the current profile.
94 virtual content::BrowserContext* GetCurrentBrowserContext() = 0; 94 virtual content::BrowserContext* GetCurrentBrowserContext() = 0;
95 95
96 // Invoked when the user presses a shortcut to toggle spoken feedback 96 // Invoked when the user presses a shortcut to toggle spoken feedback
97 // for accessibility. 97 // for accessibility.
98 virtual void ToggleSpokenFeedback() = 0; 98 virtual void ToggleSpokenFeedback() = 0;
99 99
100 // Returns true if spoken feedback is enabled.
101 virtual bool IsSpokenFeedbackEnabled() const = 0;
102
100 // Invoked to create an AppListViewDelegate. Shell takes the ownership of 103 // Invoked to create an AppListViewDelegate. Shell takes the ownership of
101 // the created delegate. 104 // the created delegate.
102 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() = 0; 105 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() = 0;
103 106
104 // Invoked to start taking partial screenshot. 107 // Invoked to start taking partial screenshot.
105 virtual void StartPartialScreenshot( 108 virtual void StartPartialScreenshot(
106 ScreenshotDelegate* screenshot_delegate) = 0; 109 ScreenshotDelegate* screenshot_delegate) = 0;
107 110
108 // Creates a new LauncherDelegate. Shell takes ownership of the returned 111 // Creates a new LauncherDelegate. Shell takes ownership of the returned
109 // value. 112 // value.
110 virtual LauncherDelegate* CreateLauncherDelegate( 113 virtual LauncherDelegate* CreateLauncherDelegate(
111 ash::LauncherModel* model) = 0; 114 ash::LauncherModel* model) = 0;
112 115
113 // Creates a system-tray delegate. Shell takes ownership of the delegate. 116 // Creates a system-tray delegate. Shell takes ownership of the delegate.
114 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* tray) = 0; 117 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* tray) = 0;
115 118
116 // Creates a user wallpaper delegate. Shell takes ownership of the delegate. 119 // Creates a user wallpaper delegate. Shell takes ownership of the delegate.
117 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0; 120 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0;
118 121
119 // Creates a user action client. Shell takes ownership of the object. 122 // Creates a user action client. Shell takes ownership of the object.
120 virtual aura::client::UserActionClient* CreateUserActionClient() = 0; 123 virtual aura::client::UserActionClient* CreateUserActionClient() = 0;
121 }; 124 };
122 125
123 } // namespace ash 126 } // namespace ash
124 127
125 #endif // ASH_SHELL_DELEGATE_H_ 128 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698