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

Side by Side Diff: chrome/browser/media/desktop_media_picker.h

Issue 100743003: Extend content::DesktopMediaID to allow Aura windows as capture sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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_MEDIA_DESKTOP_MEDIA_PICKER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_PICKER_H_
6 #define CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_PICKER_H_ 6 #define CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_PICKER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "content/public/common/desktop_media_id.h" 12 #include "content/public/browser/desktop_media_id.h"
13 #include "ui/gfx/native_widget_types.h" 13 #include "ui/gfx/native_widget_types.h"
14 14
15 class DesktopMediaList; 15 class DesktopMediaList;
16 16
17 // Abstract interface for desktop media picker UI. It's used by Desktop Media 17 // Abstract interface for desktop media picker UI. It's used by Desktop Media
18 // API to let user choose a desktop media source. 18 // API to let user choose a desktop media source.
19 class DesktopMediaPicker { 19 class DesktopMediaPicker {
20 public: 20 public:
21 typedef base::Callback<void(content::DesktopMediaID)> DoneCallback; 21 typedef base::Callback<void(content::DesktopMediaID)> DoneCallback;
22 22
(...skipping 11 matching lines...) Expand all
34 gfx::NativeWindow parent, 34 gfx::NativeWindow parent,
35 const base::string16& app_name, 35 const base::string16& app_name,
36 scoped_ptr<DesktopMediaList> list, 36 scoped_ptr<DesktopMediaList> list,
37 const DoneCallback& done_callback) = 0; 37 const DoneCallback& done_callback) = 0;
38 38
39 private: 39 private:
40 DISALLOW_COPY_AND_ASSIGN(DesktopMediaPicker); 40 DISALLOW_COPY_AND_ASSIGN(DesktopMediaPicker);
41 }; 41 };
42 42
43 #endif // CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_PICKER_H_ 43 #endif // CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_PICKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/desktop_media_list.h ('k') | chrome/browser/media/media_capture_devices_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698