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

Issue 13247006: Enable media stream layout test with content_shell. (Closed)

Created:
7 years, 8 months ago by wjia(left Chromium)
Modified:
7 years, 8 months ago
Reviewers:
jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Visibility:
Public.

Description

Enable media stream layout test with conent_shell. When using content_shell to run layout test, it's needed to use corresponding WebKit::userMediaClient and webkit_media::MediaStreamClient implemented for layout test. This patch depends on https://bugs.webkit.org/show_bug.cgi?id=113633 which export WebUserMediaClientMock. BUG=222906

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -1 line) Patch
M content/public/renderer/content_renderer_client.h View 3 chunks +10 lines, -0 lines 1 comment Download
M content/public/renderer/content_renderer_client.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 2 chunks +14 lines, -1 line 1 comment Download
M content/shell/shell_content_renderer_client.h View 3 chunks +9 lines, -0 lines 0 comments Download
M content/shell/shell_content_renderer_client.cc View 2 chunks +30 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
wjia(left Chromium)
7 years, 8 months ago (2013-03-30 18:18:00 UTC) #1
jam
7 years, 8 months ago (2013-04-01 15:51:45 UTC) #2
lgtm

https://codereview.chromium.org/13247006/diff/1/content/public/renderer/conte...
File content/public/renderer/content_renderer_client.h (right):

https://codereview.chromium.org/13247006/diff/1/content/public/renderer/conte...
content/public/renderer/content_renderer_client.h:140: // returns NULL the
content layer will create the userMediaClient.
userMediaClient -> WebUserMediaClient

https://codereview.chromium.org/13247006/diff/1/content/renderer/render_view_...
File content/renderer/render_view_impl.cc (right):

https://codereview.chromium.org/13247006/diff/1/content/renderer/render_view_...
content/renderer/render_view_impl.cc:2681: // For layout test with
content_shell.
nit: don't mention what an embedder might use this for.

Powered by Google App Engine
This is Rietveld 408576698