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

Issue 9316077: Enable audio/video tag in content_shell (Closed)

Created:
8 years, 10 months ago by vrk (LEFT CHROMIUM)
Modified:
8 years, 9 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, acolwell+watch_chromium.org, annacc+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, scherkus (not reviewing), ihf+watch_chromium.org, tommi (sloooow) - chröme, henrika (OOO until Aug 14)
Visibility:
Public.

Description

Enable audio/video tag in content_shell Some media initialization work needed to be added to the shell in order for the ffmpeg stubs to be loaded and for the media tags to be recognized. AudioManager also needed to be added to the shell, as the Chromium-equivalent lives in BrowserProcessImpl, and the media code should not assume the MediaInternals has been created. BUG=112043, 116906 TEST=content_shell builds and can play the videos in the bug above Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125442

Patch Set 1 #

Total comments: 8

Patch Set 2 : Move media initialization from chrome to content #

Patch Set 3 : Fix check-deps and mac compile #

Patch Set 4 : Rebase ToT #

Patch Set 5 : Add comment; PathServiceTest.Get test still fails on mac #

Total comments: 10

Patch Set 6 : Respond to CR #

Patch Set 7 : . #

Total comments: 2

Patch Set 8 : Respond to CR #

Total comments: 4

Patch Set 9 : Respond to code review; fix occasional segfault on shutdown :| #

Patch Set 10 : . #

Patch Set 11 : Fix content_unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -49 lines) Patch
M chrome/app/chrome_main_delegate.cc View 1 2 3 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/common/chrome_paths.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_paths.cc View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/renderer/chrome_render_process_observer.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/chrome_render_process_observer.cc View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -12 lines 0 comments Download
M content/app/DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/app/content_main_runner.cc View 1 2 3 4 5 6 3 chunks +12 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.h View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -5 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.cc View 1 2 3 4 5 6 7 8 10 chunks +23 lines, -13 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/content_paths.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_paths.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 5 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
vrk (LEFT CHROMIUM)
erg/jam: content/shell stuff scherkus: everything!
8 years, 10 months ago (2012-02-02 22:57:26 UTC) #1
vrk (LEFT CHROMIUM)
On 2012/02/02 22:57:26, Victoria Kirst wrote: > erg/jam: content/shell stuff > scherkus: everything! BTW: You ...
8 years, 10 months ago (2012-02-02 23:17:26 UTC) #2
jam
content_shell works on windows btw for a few months now. we didn't advertise it heavily ...
8 years, 10 months ago (2012-02-03 00:49:44 UTC) #3
scherkus (not reviewing)
LGTM w/ one q +tommi/henrika as an FYI (vrk is getting audio working inside of ...
8 years, 10 months ago (2012-02-03 23:40:01 UTC) #4
vrk (LEFT CHROMIUM)
Dusting off this CL! Updated to ToT and I have things working on linux and ...
8 years, 9 months ago (2012-03-06 02:07:48 UTC) #5
scherkus (not reviewing)
https://chromiumcodereview.appspot.com/9316077/diff/18017/content/DEPS File content/DEPS (right): https://chromiumcodereview.appspot.com/9316077/diff/18017/content/DEPS#newcode28 content/DEPS:28: "+media", nit: could we get a tighter scope? AFAIK ...
8 years, 9 months ago (2012-03-06 02:14:06 UTC) #6
scherkus (not reviewing)
https://chromiumcodereview.appspot.com/9316077/diff/18017/base/base_paths_mac.mm File base/base_paths_mac.mm (right): https://chromiumcodereview.appspot.com/9316077/diff/18017/base/base_paths_mac.mm#newcode84 base/base_paths_mac.mm:84: case base::DIR_MEDIA_LIBS: { On 2012/03/06 02:07:50, Victoria Kirst wrote: ...
8 years, 9 months ago (2012-03-06 02:19:00 UTC) #7
jam
very cool, thanks for working on this. if audio/video folks can work on content_shell and ...
8 years, 9 months ago (2012-03-06 02:20:54 UTC) #8
vrk (LEFT CHROMIUM)
Thanks guys! On 2012/03/06 02:20:54, John Abd-El-Malek wrote: > It seems like a layering violation ...
8 years, 9 months ago (2012-03-06 20:34:14 UTC) #9
scherkus (not reviewing)
LGTM w/ one nit https://chromiumcodereview.appspot.com/9316077/diff/30001/content/app/DEPS File content/app/DEPS (right): https://chromiumcodereview.appspot.com/9316077/diff/30001/content/app/DEPS#newcode3 content/app/DEPS:3: "+media", nit: could this be ...
8 years, 9 months ago (2012-03-06 20:36:59 UTC) #10
vrk (LEFT CHROMIUM)
https://chromiumcodereview.appspot.com/9316077/diff/30001/content/app/DEPS File content/app/DEPS (right): https://chromiumcodereview.appspot.com/9316077/diff/30001/content/app/DEPS#newcode3 content/app/DEPS:3: "+media", On 2012/03/06 20:37:00, scherkus wrote: > nit: could ...
8 years, 9 months ago (2012-03-06 21:18:36 UTC) #11
jam
lgtm, nice http://codereview.chromium.org/9316077/diff/29014/chrome/renderer/chrome_render_process_observer.cc File chrome/renderer/chrome_render_process_observer.cc (right): http://codereview.chromium.org/9316077/diff/29014/chrome/renderer/chrome_render_process_observer.cc#newcode258 chrome/renderer/chrome_render_process_observer.cc:258: void ChromeRenderProcessObserver::WebKitInitialized() { nit: delete this function ...
8 years, 9 months ago (2012-03-06 21:26:17 UTC) #12
vrk (LEFT CHROMIUM)
scherkus: Sorry, PTAL at AudioRendererHost! I discovered that the media_observer_ field was more harmful than ...
8 years, 9 months ago (2012-03-06 22:11:41 UTC) #13
scherkus (not reviewing)
LGTM++
8 years, 9 months ago (2012-03-06 22:14:17 UTC) #14
jam
slgtm
8 years, 9 months ago (2012-03-06 22:17:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vrk@chromium.org/9316077/34020
8 years, 9 months ago (2012-03-07 18:38:54 UTC) #16
commit-bot: I haz the power
8 years, 9 months ago (2012-03-07 20:33:41 UTC) #17
Change committed as 125442

Powered by Google App Engine
This is Rietveld 408576698