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

Side by Side Diff: ash/system/tray/system_tray_delegate.h

Issue 22654003: Create system tray item for accessing chrome://slow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix non-chromeos build Created 7 years, 4 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/system/tray/system_tray.cc ('k') | ash/system/tray/system_tray_notifier.h » ('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_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 // Shows the settings related to network. If |service_path| is not empty, 162 // Shows the settings related to network. If |service_path| is not empty,
163 // show the settings for that network. 163 // show the settings for that network.
164 virtual void ShowNetworkSettings(const std::string& service_path) = 0; 164 virtual void ShowNetworkSettings(const std::string& service_path) = 0;
165 165
166 // Shows the settings related to bluetooth. 166 // Shows the settings related to bluetooth.
167 virtual void ShowBluetoothSettings() = 0; 167 virtual void ShowBluetoothSettings() = 0;
168 168
169 // Shows settings related to multiple displays. 169 // Shows settings related to multiple displays.
170 virtual void ShowDisplaySettings() = 0; 170 virtual void ShowDisplaySettings() = 0;
171 171
172 // Shows the page that lets you disable performance tracing.
173 virtual void ShowChromeSlow() = 0;
174
172 // Returns true if the notification for the display configuration change 175 // Returns true if the notification for the display configuration change
173 // should appear. 176 // should appear.
174 virtual bool ShouldShowDisplayNotification() = 0; 177 virtual bool ShouldShowDisplayNotification() = 0;
175 178
176 // Shows settings related to Google Drive. 179 // Shows settings related to Google Drive.
177 virtual void ShowDriveSettings() = 0; 180 virtual void ShowDriveSettings() = 0;
178 181
179 // Shows settings related to input methods. 182 // Shows settings related to input methods.
180 virtual void ShowIMESettings() = 0; 183 virtual void ShowIMESettings() = 0;
181 184
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 // Speaks the given text if spoken feedback is enabled. 326 // Speaks the given text if spoken feedback is enabled.
324 virtual void MaybeSpeak(const std::string& utterance) const = 0; 327 virtual void MaybeSpeak(const std::string& utterance) const = 0;
325 328
326 // Creates a dummy delegate for testing. 329 // Creates a dummy delegate for testing.
327 static SystemTrayDelegate* CreateDummyDelegate(); 330 static SystemTrayDelegate* CreateDummyDelegate();
328 }; 331 };
329 332
330 } // namespace ash 333 } // namespace ash
331 334
332 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 335 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/system_tray_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698