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

Issue 86443002: Changes to enable HTML5 autoplay for voice search. (Closed)

Created:
7 years ago by apiccion
Modified:
7 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Changes to enable HTML5 autoplay for voice search. * Added methods in ContentViewCore to enable/disable html5 autoplay restrictions. BUG=323264 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241491

Patch Set 1 #

Patch Set 2 : Some fixes #

Patch Set 3 : Fixes #

Patch Set 4 : Fixes #

Total comments: 14

Patch Set 5 : #

Total comments: 8

Patch Set 6 : #

Patch Set 7 : Isolated media autoplay enabler from Tab #

Total comments: 8

Patch Set 8 : Ted #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 2

Patch Set 11 : #

Patch Set 12 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -0 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/TabBase.java View 1 2 3 4 5 6 3 chunks +3 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/VoiceSearchTabHelper.java View 1 2 3 4 5 6 7 1 chunk +35 lines, -0 lines 1 comment Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/browser/android/voice_search_tab_helper.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/browser/android/voice_search_tab_helper.cc View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
apiccion
7 years ago (2013-11-25 21:44:11 UTC) #1
David Trainor- moved to gerrit
lgtm https://codereview.chromium.org/86443002/diff/60001/content/browser/android/content_view_core_impl.h File content/browser/android/content_view_core_impl.h (right): https://codereview.chromium.org/86443002/diff/60001/content/browser/android/content_view_core_impl.h#newcode59 content/browser/android/content_view_core_impl.h:59: void DisableMediaAutoplay(JNIEnv* env, jobject obj); Can this be ...
7 years ago (2013-11-26 18:59:32 UTC) #2
Ted C
https://codereview.chromium.org/86443002/diff/60001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/86443002/diff/60001/content/browser/android/content_view_core_impl.cc#newcode340 content/browser/android/content_view_core_impl.cc:340: void ContentViewCoreImpl::SetMediaAutoplayEnabled(bool isEnabled) { c++ naming for variables doesn't ...
7 years ago (2013-11-26 19:24:29 UTC) #3
apiccion
Please ignore downstream CL. Will update to take advantage of template urls. https://codereview.chromium.org/86443002/diff/60001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc ...
7 years ago (2013-12-03 02:29:19 UTC) #4
Ted C
https://codereview.chromium.org/86443002/diff/80001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/86443002/diff/80001/content/browser/android/content_view_core_impl.cc#newcode333 content/browser/android/content_view_core_impl.cc:333: jboolean is_enabled) { if they don't all fit on ...
7 years ago (2013-12-10 22:58:19 UTC) #5
apiccion
https://codereview.chromium.org/86443002/diff/80001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/86443002/diff/80001/content/browser/android/content_view_core_impl.cc#newcode333 content/browser/android/content_view_core_impl.cc:333: jboolean is_enabled) { On 2013/12/10 22:58:20, Ted C wrote: ...
7 years ago (2013-12-13 06:09:12 UTC) #6
apiccion
PTAL
7 years ago (2013-12-16 20:08:13 UTC) #7
Ted C
Just a question about timing. Overall this patch is looking good. https://codereview.chromium.org/86443002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/VoiceSearchTabHelper.java File chrome/android/java/src/org/chromium/chrome/browser/VoiceSearchTabHelper.java (right): ...
7 years ago (2013-12-17 00:59:00 UTC) #8
Ted C
https://codereview.chromium.org/86443002/diff/120001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/86443002/diff/120001/chrome/browser/chrome_content_browser_client.cc#newcode2262 chrome/browser/chrome_content_browser_client.cc:2262: !google_util::IsGoogleSearchUrl(url); also, should this be checking against the voice ...
7 years ago (2013-12-17 17:52:22 UTC) #9
apiccion
https://codereview.chromium.org/86443002/diff/120001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/86443002/diff/120001/chrome/browser/chrome_content_browser_client.cc#newcode2262 chrome/browser/chrome_content_browser_client.cc:2262: !google_util::IsGoogleSearchUrl(url); On 2013/12/17 17:52:22, Ted C wrote: > also, ...
7 years ago (2013-12-17 18:53:37 UTC) #10
apiccion
https://codereview.chromium.org/86443002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/VoiceSearchTabHelper.java File chrome/android/java/src/org/chromium/chrome/browser/VoiceSearchTabHelper.java (right): https://codereview.chromium.org/86443002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/VoiceSearchTabHelper.java#newcode26 chrome/android/java/src/org/chromium/chrome/browser/VoiceSearchTabHelper.java:26: mNativeVoiceSearchTabHelper = nativeInit(contentViewCore.getWebContents()); On 2013/12/17 00:59:00, Ted C wrote: ...
7 years ago (2013-12-17 21:17:11 UTC) #11
Ted C
Looks like the patch upload didn't work entirely right (some files don't have diffs anymore) ...
7 years ago (2013-12-18 00:38:33 UTC) #12
apiccion
https://codereview.chromium.org/86443002/diff/180001/chrome/browser/android/voice_search_tab_helper.h File chrome/browser/android/voice_search_tab_helper.h (right): https://codereview.chromium.org/86443002/diff/180001/chrome/browser/android/voice_search_tab_helper.h#newcode10 chrome/browser/android/voice_search_tab_helper.h:10: class VoiceSearchTabHelper { On 2013/12/18 00:38:33, Ted C wrote: ...
7 years ago (2013-12-18 01:27:15 UTC) #13
Ted C
lgtm https://codereview.chromium.org/86443002/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/VoiceSearchTabHelper.java File chrome/android/java/src/org/chromium/chrome/browser/VoiceSearchTabHelper.java (right): https://codereview.chromium.org/86443002/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/VoiceSearchTabHelper.java#newcode15 chrome/android/java/src/org/chromium/chrome/browser/VoiceSearchTabHelper.java:15: private static final String TAG = "VoiceSearchTabHelper"; findbugs ...
7 years ago (2013-12-18 02:17:27 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/apiccion@chromium.org/86443002/220001
7 years ago (2013-12-18 02:22:41 UTC) #15
commit-bot: I haz the power
Change committed as 241491
7 years ago (2013-12-18 04:55:20 UTC) #16
apiccion
7 years ago (2013-12-19 19:38:49 UTC) #17
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/98413005/ by apiccion@chromium.org.

The reason for reverting is: Breaks Android Performance Bots
http://build.chromium.org/p/chromium.perf/builders/Android%20Nexus10%20Perf/b....

Powered by Google App Engine
This is Rietveld 408576698