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

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

Issue 989843002: [Extensions] Make chrome://extensions use developerPrivate for inspect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 enum ItemType { 10 enum ItemType {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 DOMString? update_url; 61 DOMString? update_url;
62 InstallWarning[] install_warnings; 62 InstallWarning[] install_warnings;
63 any[] manifest_errors; 63 any[] manifest_errors;
64 any[] runtime_errors; 64 any[] runtime_errors;
65 boolean offline_enabled; 65 boolean offline_enabled;
66 66
67 // All views of the current extension. 67 // All views of the current extension.
68 ItemInspectView[] views; 68 ItemInspectView[] views;
69 }; 69 };
70 70
71 // TODO(devlin): Combine inspect and openDevTools?
71 dictionary InspectOptions { 72 dictionary InspectOptions {
72 DOMString extension_id; 73 DOMString extension_id;
73 DOMString render_process_id; 74 (DOMString or long) render_process_id;
74 DOMString render_view_id; 75 (DOMString or long) render_view_id;
75 boolean incognito; 76 boolean incognito;
76 }; 77 };
77 78
78 dictionary ReloadOptions { 79 dictionary ReloadOptions {
79 // If false, an alert dialog will show in the event of a reload error. 80 // If false, an alert dialog will show in the event of a reload error.
80 // Defaults to false. 81 // Defaults to false.
81 boolean? failQuietly; 82 boolean? failQuietly;
82 }; 83 };
83 84
84 dictionary LoadUnpackedOptions { 85 dictionary LoadUnpackedOptions {
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 // Open the developer tools to focus on a particular error. 294 // Open the developer tools to focus on a particular error.
294 static void openDevTools(OpenDevToolsProperties properties); 295 static void openDevTools(OpenDevToolsProperties properties);
295 }; 296 };
296 297
297 interface Events { 298 interface Events {
298 // Fired when a item state is changed. 299 // Fired when a item state is changed.
299 static void onItemStateChanged(EventData response); 300 static void onItemStateChanged(EventData response);
300 }; 301 };
301 302
302 }; 303 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698