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

Side by Side Diff: chrome/browser/extensions/api/tab_capture/tab_capture_api.h

Issue 11038021: Implement Chrome Extension TabCapture API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Defines the Chrome Extensions Tab Capture API functions for accessing
6 // tab media streams.
7
8 #ifndef CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_API_H_
9 #define CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_API_H_
10
11 #include "chrome/browser/extensions/api/api_function.h"
12 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry.h"
13 #include "chrome/common/extensions/api/tab_capture.h"
14
15 namespace extensions {
16
17 class TabCaptureCaptureFunction : public SyncExtensionFunction {
18 public:
19 DECLARE_EXTENSION_FUNCTION_NAME("tabCapture.capture");
20
21 protected:
22 virtual ~TabCaptureCaptureFunction() {}
23
24 // ExtensionFunction:
25 virtual bool RunImpl() OVERRIDE;
26 };
27
28 class TabCaptureGetCapturedTabsFunction : public SyncExtensionFunction {
29 public:
30 DECLARE_EXTENSION_FUNCTION_NAME("tabCapture.getCapturedTabs");
31
32 protected:
33 virtual ~TabCaptureGetCapturedTabsFunction() {}
34
35 // ExtensionFunction:
36 virtual bool RunImpl() OVERRIDE;
37 };
38
39 } // namespace extensions
40
41 #endif // CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/extensions/api/tab_capture/tab_capture_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698