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

Side by Side 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: Add comments. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // This file provides miscellaneous API functions, which don't belong to 5 // This file provides miscellaneous API functions, which don't belong to
6 // other files. 6 // other files.
7 7
8 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ 8 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_
9 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ 9 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.visitDesktop", 153 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.visitDesktop",
154 FILEBROWSERPRIVATE_VISITDESKTOP); 154 FILEBROWSERPRIVATE_VISITDESKTOP);
155 155
156 protected: 156 protected:
157 virtual ~FileBrowserPrivateVisitDesktopFunction() {} 157 virtual ~FileBrowserPrivateVisitDesktopFunction() {}
158 158
159 // AsyncExtensionFunction overrides. 159 // AsyncExtensionFunction overrides.
160 virtual bool RunSync() OVERRIDE; 160 virtual bool RunSync() OVERRIDE;
161 }; 161 };
162 162
163 // Implements the chrome.fileBrowserPrivate.openInspector method.
164 class FileBrowserPrivateOpenInspectorFunction
165 : public ChromeSyncExtensionFunction {
166 public:
167 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.openInspector",
168 FILEBROWSERPRIVATE_OPENINSPECTOR);
169
170 protected:
171 virtual ~FileBrowserPrivateOpenInspectorFunction() {}
172
173 virtual bool RunSync() OVERRIDE;
174 };
175
163 } // namespace extensions 176 } // namespace extensions
164 177
165 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ 178 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698