OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 protected: | 353 protected: |
354 virtual ~FileDialogStringsFunction() {} | 354 virtual ~FileDialogStringsFunction() {} |
355 | 355 |
356 // SyncExtensionFunction overrides. | 356 // SyncExtensionFunction overrides. |
357 virtual bool RunImpl() OVERRIDE; | 357 virtual bool RunImpl() OVERRIDE; |
358 | 358 |
359 private: | 359 private: |
360 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings"); | 360 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings"); |
361 }; | 361 }; |
362 | 362 |
| 363 // Toggles fullscreen mode for the browser. |
| 364 class ToggleFullscreenFunction : public SyncExtensionFunction { |
| 365 protected: |
| 366 virtual bool RunImpl() OVERRIDE; |
| 367 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.toggleFullscreen"); |
| 368 }; |
| 369 |
| 370 // Checks if the browser is in fullscreen mode. |
| 371 class IsFullscreenFunction : public SyncExtensionFunction { |
| 372 protected: |
| 373 virtual bool RunImpl() OVERRIDE; |
| 374 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.isFullscreen"); |
| 375 }; |
| 376 |
363 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ | 377 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ |
OLD | NEW |