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

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

Issue 12211108: Rename FilePath -> base::FilePath in various toplevel directories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/drive/tray_drive.cc ('k') | ash/system/tray/test_system_tray_delegate.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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 OPERATION_IN_PROGRESS, 63 OPERATION_IN_PROGRESS,
64 OPERATION_COMPLETED, 64 OPERATION_COMPLETED,
65 OPERATION_FAILED, 65 OPERATION_FAILED,
66 OPERATION_SUSPENDED, 66 OPERATION_SUSPENDED,
67 }; 67 };
68 68
69 DriveOperationStatus(); 69 DriveOperationStatus();
70 ~DriveOperationStatus(); 70 ~DriveOperationStatus();
71 71
72 // File path. 72 // File path.
73 FilePath file_path; 73 base::FilePath file_path;
74 // Current operation completion progress [0.0 - 1.0]. 74 // Current operation completion progress [0.0 - 1.0].
75 double progress; 75 double progress;
76 OperationType type; 76 OperationType type;
77 OperationState state; 77 OperationState state;
78 }; 78 };
79 79
80 typedef std::vector<DriveOperationStatus> DriveOperationStatusList; 80 typedef std::vector<DriveOperationStatus> DriveOperationStatusList;
81 81
82 82
83 struct ASH_EXPORT IMEPropertyInfo { 83 struct ASH_EXPORT IMEPropertyInfo {
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // Returns a list of properties for the currently selected IME. 213 // Returns a list of properties for the currently selected IME.
214 virtual void GetCurrentIMEProperties(IMEPropertyInfoList* list) = 0; 214 virtual void GetCurrentIMEProperties(IMEPropertyInfoList* list) = 0;
215 215
216 // Switches to the selected input method. 216 // Switches to the selected input method.
217 virtual void SwitchIME(const std::string& ime_id) = 0; 217 virtual void SwitchIME(const std::string& ime_id) = 0;
218 218
219 // Activates an IME property. 219 // Activates an IME property.
220 virtual void ActivateIMEProperty(const std::string& key) = 0; 220 virtual void ActivateIMEProperty(const std::string& key) = 0;
221 221
222 // Cancels ongoing drive operation. 222 // Cancels ongoing drive operation.
223 virtual void CancelDriveOperation(const FilePath& file_path) = 0; 223 virtual void CancelDriveOperation(const base::FilePath& file_path) = 0;
224 224
225 // Returns information about the ongoing drive operations. 225 // Returns information about the ongoing drive operations.
226 virtual void GetDriveOperationStatusList( 226 virtual void GetDriveOperationStatusList(
227 DriveOperationStatusList* list) = 0; 227 DriveOperationStatusList* list) = 0;
228 228
229 // Returns information about the most relevant network. Relevance is 229 // Returns information about the most relevant network. Relevance is
230 // determined by the implementor (e.g. a connecting network may be more 230 // determined by the implementor (e.g. a connecting network may be more
231 // relevant over a connected network etc.) 231 // relevant over a connected network etc.)
232 virtual void GetMostRelevantNetworkIcon(NetworkIconInfo* info, 232 virtual void GetMostRelevantNetworkIcon(NetworkIconInfo* info,
233 bool large) = 0; 233 bool large) = 0;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 // length limit is set. 334 // length limit is set.
335 virtual base::TimeDelta GetSessionLengthLimit() = 0; 335 virtual base::TimeDelta GetSessionLengthLimit() = 0;
336 336
337 // Creates a dummy delegate for testing. 337 // Creates a dummy delegate for testing.
338 static SystemTrayDelegate* CreateDummyDelegate(); 338 static SystemTrayDelegate* CreateDummyDelegate();
339 }; 339 };
340 340
341 } // namespace ash 341 } // namespace ash
342 342
343 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 343 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/drive/tray_drive.cc ('k') | ash/system/tray/test_system_tray_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698