| Index: chrome/common/extensions/api/file_browser_private.idl
|
| diff --git a/chrome/common/extensions/api/file_browser_private.idl b/chrome/common/extensions/api/file_browser_private.idl
|
| index cfe5c27e0098485ba014504f6ffcc0a7e717fdb4..1f847231c3a2ec0409d586ab1c7c42a062b2764f 100644
|
| --- a/chrome/common/extensions/api/file_browser_private.idl
|
| +++ b/chrome/common/extensions/api/file_browser_private.idl
|
| @@ -81,6 +81,18 @@ enum SearchType { EXCLUDE_DIRECTORIES, SHARED_WITH_ME, OFFLINE, ALL };
|
| // Zooming mode.
|
| enum ZoomOperationType { in, out, reset };
|
|
|
| +// Specifies how to open inspector.
|
| +enum InspectionType {
|
| + // Open inspector for foreground page.
|
| + normal,
|
| + // Open inspector for foreground page and bring focus to the console.
|
| + console,
|
| + // Open inspector for foreground page in inspect element mode.
|
| + element,
|
| + // Open inspector for background page.
|
| + background
|
| +};
|
| +
|
| // Device event type.
|
| enum DeviceEventType {
|
| // Device is added.
|
| @@ -761,6 +773,10 @@ interface Functions {
|
| // Moves the window to other user's desktop.
|
| static void visitDesktop(DOMString profileId,
|
| optional SimpleCallback callback);
|
| +
|
| + // Opens inspector window.
|
| + // |type| InspectionType which specifies how to open inspector.
|
| + static void openInspector(InspectionType type);
|
| };
|
|
|
| interface Events {
|
|
|