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

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

Issue 1049483003: [Extensions] Update extensions UI to observe events and add test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Dan's Created 5 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 (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 // developerPrivate API. 5 // developerPrivate API.
6 // This is a private API exposing developing and debugging functionalities for 6 // This is a private API exposing developing and debugging functionalities for
7 // apps and extensions. 7 // apps and extensions.
8 namespace developerPrivate { 8 namespace developerPrivate {
9 9
10 // DEPRECATED: Prefer ExtensionType. 10 // DEPRECATED: Prefer ExtensionType.
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 PackStatus status; 289 PackStatus status;
290 }; 290 };
291 291
292 dictionary ProjectInfo { 292 dictionary ProjectInfo {
293 DOMString name; 293 DOMString name;
294 }; 294 };
295 295
296 dictionary EventData { 296 dictionary EventData {
297 EventType event_type; 297 EventType event_type;
298 DOMString item_id; 298 DOMString item_id;
299 ExtensionInfo? extensionInfo;
299 }; 300 };
300 301
301 dictionary RequestFileSourceProperties { 302 dictionary RequestFileSourceProperties {
302 // The ID of the extension owning the file. 303 // The ID of the extension owning the file.
303 DOMString extensionId; 304 DOMString extensionId;
304 305
305 // The path of the file, relative to the extension; e.g., manifest.json, 306 // The path of the file, relative to the extension; e.g., manifest.json,
306 // script.js, or main.html. 307 // script.js, or main.html.
307 DOMString pathSuffix; 308 DOMString pathSuffix;
308 309
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 static void inspect(InspectOptions options, 492 static void inspect(InspectOptions options,
492 optional VoidCallback callback); 493 optional VoidCallback callback);
493 }; 494 };
494 495
495 interface Events { 496 interface Events {
496 // Fired when a item state is changed. 497 // Fired when a item state is changed.
497 static void onItemStateChanged(EventData response); 498 static void onItemStateChanged(EventData response);
498 }; 499 };
499 500
500 }; 501 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698