HomeSort by relevance Sort by last modified time
    Searched refs:DesktopMediaID (Results 1 - 25 of 28) sorted by null

1 2

  /external/chromium_org/content/public/browser/
desktop_media_id.h 23 struct CONTENT_EXPORT DesktopMediaID {
34 // Assigns integer identifier to the |window| and returns DesktopMediaID of
36 static DesktopMediaID RegisterAuraWindow(aura::Window* window);
38 // For DesktopMediaID of type TYPE_AURA_WINDOW returns the |window| that was
40 static aura::Window* GetAuraWindowById(const DesktopMediaID& id);
43 static DesktopMediaID Parse(const std::string& str);
45 DesktopMediaID()
49 DesktopMediaID(Type type, Id id)
54 // Operators so that DesktopMediaID can be used with STL containers.
55 bool operator<(const DesktopMediaID& other) const
    [all...]
desktop_media_id.cc 88 DesktopMediaID DesktopMediaID::RegisterAuraWindow(aura::Window* window) {
89 return DesktopMediaID(
95 aura::Window* DesktopMediaID::GetAuraWindowById(const DesktopMediaID& id) {
103 DesktopMediaID DesktopMediaID::Parse(const std::string& str) {
108 return DesktopMediaID(TYPE_NONE, 0);
118 return DesktopMediaID(TYPE_NONE, 0);
123 return DesktopMediaID(TYPE_NONE, 0)
    [all...]
  /external/chromium_org/chrome/browser/ui/cocoa/media_picker/
desktop_media_picker_item.h 18 content::DesktopMediaID sourceID_;
31 - (id)initWithSourceId:(content::DesktopMediaID)sourceID
36 - (content::DesktopMediaID)sourceID;
  /external/chromium_org/chrome/browser/media/
desktop_media_list.h 24 content::DesktopMediaID id;
47 virtual void SetViewDialogWindowId(content::DesktopMediaID::Id dialog_id) = 0;
desktop_media_list_ash.h 49 content::DesktopMediaID::Id dialog_id) OVERRIDE;
54 SourceDescription(content::DesktopMediaID id, const base::string16& name);
56 content::DesktopMediaID id;
71 void CaptureThumbnail(content::DesktopMediaID id, aura::Window* window);
72 void OnThumbnailCaptured(content::DesktopMediaID id,
84 content::DesktopMediaID::Id view_dialog_id_;
desktop_streams_registry.h 29 const content::DesktopMediaID& source,
33 // DesktopMediaID if the specified |id| is invalid, i.e. wasn't generated
37 content::DesktopMediaID RequestMediaForStreamId(const std::string& id,
51 content::DesktopMediaID source;
native_desktop_media_list.h 40 content::DesktopMediaID::Id dialog_id) OVERRIDE;
48 SourceDescription(content::DesktopMediaID id, const base::string16& name);
50 content::DesktopMediaID id;
80 content::DesktopMediaID::Id view_dialog_id_;
desktop_media_picker.h 25 typedef base::Callback<void(content::DesktopMediaID)> DoneCallback;
fake_desktop_media_list.cc 15 source.id = content::DesktopMediaID(content::DesktopMediaID::TYPE_WINDOW, id);
49 content::DesktopMediaID::Id dialog_id) {}
desktop_media_list_ash.cc 25 using content::DesktopMediaID;
35 DesktopMediaID id,
64 content::DesktopMediaID::Id dialog_id) {
88 typedef std::set<content::DesktopMediaID> SourceSet;
161 content::DesktopMediaID id =
162 content::DesktopMediaID::RegisterAuraWindow(*it);
181 content::DesktopMediaID::RegisterAuraWindow(root_windows[i]),
214 void DesktopMediaListAsh::CaptureThumbnail(content::DesktopMediaID id,
231 void DesktopMediaListAsh::OnThumbnailCaptured(content::DesktopMediaID id,
desktop_streams_registry.cc 37 const content::DesktopMediaID& source,
59 content::DesktopMediaID DesktopStreamsRegistry::RequestMediaForStreamId(
75 return content::DesktopMediaID();
78 content::DesktopMediaID result = it->second.source;
fake_desktop_media_list.h 27 content::DesktopMediaID::Id dialog_id) OVERRIDE;
native_desktop_media_list.cc 28 using content::DesktopMediaID;
79 DesktopMediaID id,
94 content::DesktopMediaID::Id view_dialog_id);
97 typedef std::map<DesktopMediaID, uint32> ImageHashesMap;
132 content::DesktopMediaID::Id view_dialog_id) {
149 sources.push_back(SourceDescription(DesktopMediaID(
150 DesktopMediaID::TYPE_SCREEN, screens[i].id), title));
163 DesktopMediaID(DesktopMediaID::TYPE_WINDOW, it->id),
181 case DesktopMediaID::TYPE_SCREEN
    [all...]
native_desktop_media_list_unittest.cc 196 content::DesktopMediaID::TYPE_WINDOW);
224 EXPECT_EQ(model_->GetSource(0).id.type, content::DesktopMediaID::TYPE_SCREEN);
234 EXPECT_EQ(model_->GetSource(0).id.type, content::DesktopMediaID::TYPE_SCREEN);
262 EXPECT_EQ(model_->GetSource(0).id.type, content::DesktopMediaID::TYPE_SCREEN);
281 EXPECT_EQ(model_->GetSource(2).id.type, content::DesktopMediaID::TYPE_WINDOW);
  /external/chromium_org/content/browser/media/capture/
desktop_capture_device_aura.h 28 static media::VideoCaptureDevice* Create(const DesktopMediaID& source);
38 DesktopCaptureDeviceAura(const DesktopMediaID& source);
desktop_capture_device.h 36 const DesktopMediaID& source);
53 DesktopMediaID::Type type);
desktop_capture_device.cc 55 DesktopMediaID::Type type);
124 DesktopMediaID::Type capturer_type_;
138 DesktopMediaID::Type type)
200 if (capturer_type_ == DesktopMediaID::TYPE_SCREEN) {
226 if (capturer_type_ == DesktopMediaID::TYPE_SCREEN) {
394 const DesktopMediaID& source) {
403 case DesktopMediaID::TYPE_SCREEN: {
418 case DesktopMediaID::TYPE_WINDOW: {
473 DesktopMediaID::Type type)
desktop_capture_device_aura.cc 98 DesktopVideoCaptureMachine(const DesktopMediaID& source);
162 DesktopMediaID window_id_;
186 const DesktopMediaID& source)
198 desktop_window_ = content::DesktopMediaID::GetAuraWindowById(window_id_);
321 if (window_id_.type == DesktopMediaID::TYPE_SCREEN) {
329 if (window_id_.type == DesktopMediaID::TYPE_SCREEN) {
514 const DesktopMediaID& source)
524 const DesktopMediaID& source) {
525 IncrementDesktopCaptureCounter(source.type == DesktopMediaID::TYPE_SCREEN
desktop_capture_device_aura_unittest.cc 109 content::DesktopMediaID::RegisterAuraWindow(root_window())));
  /external/chromium_org/chrome/browser/extensions/api/desktop_capture/
desktop_capture_apitest.cc 29 content::DesktopMediaID selected_source;
161 content::DesktopMediaID() },
164 content::DesktopMediaID(content::DesktopMediaID::TYPE_SCREEN, 0) },
167 content::DesktopMediaID() },
170 content::DesktopMediaID() },
173 content::DesktopMediaID(content::DesktopMediaID::TYPE_SCREEN,
177 content::DesktopMediaID(content::DesktopMediaID::TYPE_SCREEN
    [all...]
desktop_capture_api.h 57 void OnPickerDialogResults(content::DesktopMediaID source);
  /external/chromium_org/chrome/browser/ui/views/
desktop_media_picker_views_unittest.cc 67 MOCK_METHOD1(OnPickerDone, void(content::DesktopMediaID));
78 EXPECT_CALL(*this, OnPickerDone(content::DesktopMediaID()));
87 OnPickerDone(content::DesktopMediaID(
88 content::DesktopMediaID::TYPE_WINDOW, kFakeId)));
106 OnPickerDone(content::DesktopMediaID(
107 content::DesktopMediaID::TYPE_WINDOW, kFakeId)));
125 OnPickerDone(content::DesktopMediaID(
126 content::DesktopMediaID::TYPE_WINDOW, kFakeId)));
desktop_media_picker_views.h 30 void StartUpdating(content::DesktopMediaID::Id dialog_window_id);
69 content::DesktopMediaID source_id);
77 const content::DesktopMediaID& source_id() const { return source_id_; }
100 content::DesktopMediaID source_id_;
162 void NotifyDialogResult(content::DesktopMediaID source);
desktop_media_picker_views.cc 35 using content::DesktopMediaID;
54 DesktopMediaID::Id AcceleratedWidgetToDesktopMediaId(
57 return reinterpret_cast<DesktopMediaID::Id>(accelerated_widget);
59 return static_cast<DesktopMediaID::Id>(accelerated_widget);
71 DesktopMediaID source_id)
214 void DesktopMediaListView::StartUpdating(DesktopMediaID::Id dialog_window_id) {
427 DesktopMediaID::Id dialog_window_id = 0;
432 DesktopMediaID::RegisterAuraWindow(widget->GetNativeWindow()).id;
517 DesktopMediaID source;
531 parent_->NotifyDialogResult(DesktopMediaID());
    [all...]
  /external/chromium_org/content/browser/renderer_host/media/
video_capture_manager.cc 253 DesktopMediaID id = DesktopMediaID::Parse(entry->id);
255 if (id.type == DesktopMediaID::TYPE_AURA_WINDOW) {
259 if (id.type != DesktopMediaID::TYPE_NONE &&
260 id.type != DesktopMediaID::TYPE_AURA_WINDOW) {
503 DesktopMediaID id = DesktopMediaID::Parse(existing_device->id);
504 if (id.type == DesktopMediaID::TYPE_NONE ||
505 id.type == DesktopMediaID::TYPE_AURA_WINDOW) {

Completed in 460 milliseconds

1 2