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

Unified Diff: content/browser/webrtc/webrtc_capture_from_element_browsertest.cc

Issue 2683343002: Notify listeners on bitmaprenderer context changes (Closed)
Patch Set: Change didDraw() call. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/test/data/media/canvas_capture.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webrtc/webrtc_capture_from_element_browsertest.cc
diff --git a/content/browser/webrtc/webrtc_capture_from_element_browsertest.cc b/content/browser/webrtc/webrtc_capture_from_element_browsertest.cc
index 085df8f789234029093b86fc0818d9017b7cc755..dd928254f48246671ee7f67b482113308ffbfcea 100644
--- a/content/browser/webrtc/webrtc_capture_from_element_browsertest.cc
+++ b/content/browser/webrtc/webrtc_capture_from_element_browsertest.cc
@@ -79,7 +79,7 @@ IN_PROC_BROWSER_TEST_F(WebRtcCaptureFromElementBrowserTest,
}
IN_PROC_BROWSER_TEST_F(WebRtcCaptureFromElementBrowserTest,
- VerifyCanvasCaptureFrames) {
+ VerifyCanvasCapture2DFrames) {
MakeTypicalCall("testCanvasCapture(draw2d);", kCanvasCaptureTestHtmlFile);
}
@@ -94,6 +94,12 @@ IN_PROC_BROWSER_TEST_F(WebRtcCaptureFromElementBrowserTest,
kCanvasCaptureTestHtmlFile);
}
+IN_PROC_BROWSER_TEST_F(WebRtcCaptureFromElementBrowserTest,
+ VerifyCanvasCaptureBitmapRendererFrames) {
+ MakeTypicalCall("testCanvasCapture(drawBitmapRenderer);",
+ kCanvasCaptureTestHtmlFile);
+}
+
IN_PROC_BROWSER_TEST_P(WebRtcCaptureFromElementBrowserTest,
MAYBE_CaptureFromMediaElement) {
#if defined(OS_ANDROID)
« no previous file with comments | « no previous file | content/test/data/media/canvas_capture.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698