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

Side by Side Diff: chrome/browser/extensions/extension_file_browser_private_api.h

Issue 9288062: Adding fullscreen mode access to chrome.fileBrowserPrivate API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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/extensions/extension_file_browser_private_api.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 (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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_file_browser_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698