OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 // Defines the Chrome Extensions Tab Capture API functions for accessing | 5 // Defines the Chrome Extensions Tab Capture API functions for accessing |
6 // tab media streams. | 6 // tab media streams. |
7 | 7 |
8 #ifndef CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_API_H_ | 8 #ifndef CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_API_H_ |
9 #define CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_API_H_ | 9 #define CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_API_H_ |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... | |
33 DECLARE_EXTENSION_FUNCTION("tabCapture.getCapturedTabs", | 33 DECLARE_EXTENSION_FUNCTION("tabCapture.getCapturedTabs", |
34 TABCAPTURE_GETCAPTUREDTABS) | 34 TABCAPTURE_GETCAPTUREDTABS) |
35 | 35 |
36 protected: | 36 protected: |
37 ~TabCaptureGetCapturedTabsFunction() override {} | 37 ~TabCaptureGetCapturedTabsFunction() override {} |
38 | 38 |
39 // ExtensionFunction: | 39 // ExtensionFunction: |
40 bool RunSync() override; | 40 bool RunSync() override; |
41 }; | 41 }; |
42 | 42 |
43 class TabCaptureCapturePresentationFunction : public SyncExtensionFunction { | |
44 ~TabCaptureCapturePresentationFunction() final {} | |
45 DECLARE_EXTENSION_FUNCTION("tabCapture.capturePresentation", | |
46 TABCAPTURE_CAPTUREPRESENTATION) | |
47 bool RunSync() final; | |
Kevin M
2015/06/29 22:17:02
// ExtensionFunction
miu
2015/06/30 04:09:59
Done.
| |
48 }; | |
49 | |
43 } // namespace extensions | 50 } // namespace extensions |
44 | 51 |
45 #endif // CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_API_H_ | 52 #endif // CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_API_H_ |
OLD | NEW |