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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_misc.h

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/browser/chromeos/extensions/file_manager/private_api_misc.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
index d6f4a595860947468cc2635c909e9fe5c6b6f231..c0885c20fbcf703c63a1ace7fdd3fe681212194b 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
@@ -160,6 +160,21 @@ class FileBrowserPrivateVisitDesktopFunction
virtual bool RunSync() OVERRIDE;
};
+// Implements the chrome.fileBrowserPrivate.openInspector method.
+// As inspection is for developers, this method doesn't have any effect if the
+// flag 'debug-packed-apps' is not enabled.
+class FileBrowserPrivateOpenInspectorFunction
+ : public ChromeSyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.openInspector",
+ FILEBROWSERPRIVATE_OPENINSPECTOR);
+
+ protected:
+ virtual ~FileBrowserPrivateOpenInspectorFunction() {}
+
+ virtual bool RunSync() OVERRIDE;
+};
+
} // namespace extensions
#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_

Powered by Google App Engine
This is Rietveld 408576698