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

Side by Side Diff: chrome/browser/extensions/api/desktop_capture/desktop_capture_base.h

Issue 1503563004: Desktop chrome tab capture-chooseDesktopMedia() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/chrome_browser.gypi » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_API_DESKTOP_CAPTURE_DESKTOP_CAPTURE_BASE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DESKTOP_CAPTURE_DESKTOP_CAPTURE_BASE_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DESKTOP_CAPTURE_DESKTOP_CAPTURE_BASE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_DESKTOP_CAPTURE_DESKTOP_CAPTURE_BASE_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "chrome/browser/extensions/chrome_extension_function.h" 12 #include "chrome/browser/extensions/chrome_extension_function.h"
13 #include "chrome/browser/media/desktop_media_list.h" 13 #include "chrome/browser/media/desktop_media_list.h"
14 #include "chrome/browser/media/desktop_media_picker.h" 14 #include "chrome/browser/media/desktop_media_picker.h"
15 #include "chrome/browser/media/native_desktop_media_list.h"
16 #include "chrome/common/extensions/api/desktop_capture.h" 15 #include "chrome/common/extensions/api/desktop_capture.h"
17 #include "content/public/browser/web_contents_observer.h" 16 #include "content/public/browser/web_contents_observer.h"
18 #include "url/gurl.h" 17 #include "url/gurl.h"
19 18
20 namespace extensions { 19 namespace extensions {
21 20
22 class DesktopCaptureChooseDesktopMediaFunctionBase 21 class DesktopCaptureChooseDesktopMediaFunctionBase
23 : public ChromeAsyncExtensionFunction, 22 : public ChromeAsyncExtensionFunction,
24 public content::WebContentsObserver { 23 public content::WebContentsObserver {
25 public: 24 public:
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 std::map<RequestId, DesktopCaptureChooseDesktopMediaFunctionBase*>; 113 std::map<RequestId, DesktopCaptureChooseDesktopMediaFunctionBase*>;
115 114
116 RequestsMap requests_; 115 RequestsMap requests_;
117 116
118 DISALLOW_COPY_AND_ASSIGN(DesktopCaptureRequestsRegistry); 117 DISALLOW_COPY_AND_ASSIGN(DesktopCaptureRequestsRegistry);
119 }; 118 };
120 119
121 } // namespace extensions 120 } // namespace extensions
122 121
123 #endif // CHROME_BROWSER_EXTENSIONS_API_DESKTOP_CAPTURE_DESKTOP_CAPTURE_BASE_H_ 122 #endif // CHROME_BROWSER_EXTENSIONS_API_DESKTOP_CAPTURE_DESKTOP_CAPTURE_BASE_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698