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

Side by Side Diff: chrome/common/extensions/api/file_manager_private.idl

Issue 1872223002: Add verbs API to file handlers. Modify the Chrome OS UI so that it displayes the internationalized … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused internationalization function on C++ code. Created 4 years, 8 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // fileManagerPrivate API. 5 // fileManagerPrivate API.
6 // This is a private API used by the file browser of ChromeOS. 6 // This is a private API used by the file browser of ChromeOS.
7 [platforms=("chromeos"), 7 [platforms=("chromeos"),
8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr ivate_api_functions.h", 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr ivate_api_functions.h",
9 use_movable_types=true] 9 use_movable_types=true]
10 namespace fileManagerPrivate { 10 namespace fileManagerPrivate {
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // currently selected files. See 189 // currently selected files. See
190 // chrome/browser/chromeos/extensions/file_manager/file_tasks.h for details 190 // chrome/browser/chromeos/extensions/file_manager/file_tasks.h for details
191 // about how file tasks are handled. 191 // about how file tasks are handled.
192 dictionary FileTask { 192 dictionary FileTask {
193 // The unique identifier of the task. 193 // The unique identifier of the task.
194 DOMString taskId; 194 DOMString taskId;
195 195
196 // Task title (ex. App name). 196 // Task title (ex. App name).
197 DOMString title; 197 DOMString title;
198 198
199 // Task verb (ex. Open With). Can be empty string in case of no verb
200 // (i.e. for FileBrowserHandler).
201 DOMString verb;
202
199 // Task icon url (from chrome://extension-icon/...) 203 // Task icon url (from chrome://extension-icon/...)
200 DOMString iconUrl; 204 DOMString iconUrl;
201 205
202 // True if this task is a default task for the selected files. 206 // True if this task is a default task for the selected files.
203 boolean isDefault; 207 boolean isDefault;
204 208
205 // True if this task is from generic file handler. Generic file handler is a 209 // True if this task is from generic file handler. Generic file handler is a
206 // file handler which handles any type of files (e.g. extensions: ["*"], 210 // file handler which handles any type of files (e.g. extensions: ["*"],
207 // types: ["*/*"]). Partial wild card (e.g. types: ["image/*"]) is not 211 // types: ["*/*"]). Partial wild card (e.g. types: ["image/*"]) is not
208 // generic file handler. 212 // generic file handler.
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 974
971 static void onPreferencesChanged(); 975 static void onPreferencesChanged();
972 976
973 static void onDriveConnectionStatusChanged(); 977 static void onDriveConnectionStatusChanged();
974 978
975 static void onDeviceChanged(DeviceEvent event); 979 static void onDeviceChanged(DeviceEvent event);
976 980
977 static void onDriveSyncError(DriveSyncErrorEvent event); 981 static void onDriveSyncError(DriveSyncErrorEvent event);
978 }; 982 };
979 }; 983 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698