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

Issue 12026029: Allow TabCapture to capture full screen flash widgets. (Closed)

Created:
7 years, 11 months ago by justinlin
Modified:
7 years, 11 months ago
Reviewers:
jam, miu
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Allow the chrome.tabCapture.* extension API to capture full screen flash widgets. When flash goes fullscreen, it creates a new render widget, so we need to track that in WebContentsVideoCaptureDevice and snapshot that instead of the current render view (which is being covered by the fullscreen render widget). - Add new WebContentsObserver event to be notified of a fullscreen render widget being shown/destroyed. - Add a new WebContentsImpl method to query if there is a currently active fullscreen render widget. BUG=154135 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178457

Patch Set 1 #

Patch Set 2 : For review. #

Total comments: 3

Patch Set 3 : comments #

Total comments: 2

Patch Set 4 : remove public interface change; not needed #

Patch Set 5 : braces #

Total comments: 2

Patch Set 6 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -3 lines) Patch
M content/browser/renderer_host/media/web_contents_video_capture_device.cc View 1 2 3 4 6 chunks +31 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 4 chunks +21 lines, -1 line 0 comments Download
M content/public/browser/web_contents_observer.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
justinlin
Hi jam@, ptal the WebContents{Observer} changes. The proposal is these 2 changes: - Add a ...
7 years, 11 months ago (2013-01-19 01:17:52 UTC) #1
miu
lgtm Just one nit... https://codereview.chromium.org/12026029/diff/1009/content/browser/renderer_host/media/web_contents_video_capture_device.cc File content/browser/renderer_host/media/web_contents_video_capture_device.cc (right): https://codereview.chromium.org/12026029/diff/1009/content/browser/renderer_host/media/web_contents_video_capture_device.cc#newcode341 content/browser/renderer_host/media/web_contents_video_capture_device.cc:341: if (fullscreen_widget_id_ == MSG_ROUTING_NONE) On ...
7 years, 11 months ago (2013-01-19 02:14:47 UTC) #2
justinlin
https://codereview.chromium.org/12026029/diff/1009/content/browser/renderer_host/media/web_contents_video_capture_device.cc File content/browser/renderer_host/media/web_contents_video_capture_device.cc (right): https://codereview.chromium.org/12026029/diff/1009/content/browser/renderer_host/media/web_contents_video_capture_device.cc#newcode341 content/browser/renderer_host/media/web_contents_video_capture_device.cc:341: if (fullscreen_widget_id_ == MSG_ROUTING_NONE) On 2013/01/19 02:14:47, Yuri wrote: ...
7 years, 11 months ago (2013-01-19 02:19:09 UTC) #3
jam
i'm not familiar with this feature, and the linked bug has no information (what is ...
7 years, 11 months ago (2013-01-23 02:26:53 UTC) #4
justinlin
On 2013/01/23 02:26:53, John Abd-El-Malek wrote: > i'm not familiar with this feature, and the ...
7 years, 11 months ago (2013-01-23 02:42:00 UTC) #5
justinlin
PTAL, I think this is generic enough to belong in content? It just exposes the ...
7 years, 11 months ago (2013-01-23 02:53:00 UTC) #6
jam
On 2013/01/23 02:42:00, justinlin wrote: > On 2013/01/23 02:26:53, John Abd-El-Malek wrote: > > i'm ...
7 years, 11 months ago (2013-01-23 05:28:09 UTC) #7
justinlin
On 2013/01/23 05:28:09, John Abd-El-Malek wrote: > On 2013/01/23 02:42:00, justinlin wrote: > > On ...
7 years, 11 months ago (2013-01-23 06:14:04 UTC) #8
jam
thanks for the explanation over vc. i'm ok with this being in content if this ...
7 years, 11 months ago (2013-01-23 21:22:50 UTC) #9
justinlin
thanks https://codereview.chromium.org/12026029/diff/11004/content/public/browser/web_contents_observer.h File content/public/browser/web_contents_observer.h (right): https://codereview.chromium.org/12026029/diff/11004/content/public/browser/web_contents_observer.h#newcode155 content/public/browser/web_contents_observer.h:155: // Invoked when a plugin like PepperFlash creates ...
7 years, 11 months ago (2013-01-23 22:20:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/justinlin@chromium.org/12026029/23003
7 years, 11 months ago (2013-01-23 22:22:19 UTC) #11
commit-bot: I haz the power
7 years, 11 months ago (2013-01-24 01:21:55 UTC) #12
Message was sent while issue was closed.
Change committed as 178457

Powered by Google App Engine
This is Rietveld 408576698