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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DESKTOP_CAPTURE_DESKTOP_CAPTURE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DESKTOP_CAPTURE_DESKTOP_CAPTURE_API_H_
8 #include "chrome/browser/extensions/api/desktop_capture/desktop_capture_base.h"
10 namespace extensions
{
12 class DesktopCaptureChooseDesktopMediaFunction
13 : public DesktopCaptureChooseDesktopMediaFunctionBase
{
15 DECLARE_EXTENSION_FUNCTION("desktopCapture.chooseDesktopMedia",
16 DESKTOPCAPTURE_CHOOSEDESKTOPMEDIA
)
18 DesktopCaptureChooseDesktopMediaFunction();
21 ~DesktopCaptureChooseDesktopMediaFunction() override
;
23 // ExtensionFunction overrides.
24 bool RunAsync() override
;
27 class DesktopCaptureCancelChooseDesktopMediaFunction
28 : public DesktopCaptureCancelChooseDesktopMediaFunctionBase
{
30 DECLARE_EXTENSION_FUNCTION("desktopCapture.cancelChooseDesktopMedia",
31 DESKTOPCAPTURE_CANCELCHOOSEDESKTOPMEDIA
)
33 DesktopCaptureCancelChooseDesktopMediaFunction();
36 ~DesktopCaptureCancelChooseDesktopMediaFunction() override
;
39 } // namespace extensions
41 #endif // CHROME_BROWSER_EXTENSIONS_API_DESKTOP_CAPTURE_DESKTOP_CAPTURE_API_H_