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

Unified Diff: chrome/common/extensions/api/file_browser_private.idl

Issue 299443009: Add keyboard shortcuts in Files.app to open inspector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use commands for shortcuts and run update_extension_functions.py. Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
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..8ab66ca7293ecce18809f869c4dd577da826e2b2 100644
--- a/chrome/common/extensions/api/file_browser_private.idl
+++ b/chrome/common/extensions/api/file_browser_private.idl
@@ -81,6 +81,9 @@ enum SearchType { EXCLUDE_DIRECTORIES, SHARED_WITH_ME, OFFLINE, ALL };
// Zooming mode.
enum ZoomOperationType { in, out, reset };
+// Specifies how to open inspector.
+enum InspectionType { normal, console, element, background };
+
// Device event type.
enum DeviceEventType {
// Device is added.
@@ -761,6 +764,9 @@ interface Functions {
// Moves the window to other user's desktop.
static void visitDesktop(DOMString profileId,
optional SimpleCallback callback);
+
+ // Open inspector window.
+ static void openInspector(InspectionType type);
};
interface Events {

Powered by Google App Engine
This is Rietveld 408576698