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

Side by Side Diff: chrome/browser/android/voice_search_tab_helper.h

Issue 86443002: Changes to enable HTML5 autoplay for voice search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Isolated media autoplay enabler from Tab Created 7 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_ANDROID_VOICE_SEARCH_TAB_HELPER_H_
6 #define CHROME_BROWSER_ANDROID_VOICE_SEARCH_TAB_HELPER_H_
7
8 #include "base/android/jni_android.h"
9
10 namespace content {
11 class WebContents;
12 }
13
14 class VoiceSearchTabHelper {
15 public:
16 explicit VoiceSearchTabHelper(content::WebContents* web_contents);
17 void SetMediaAutoplayEnabled(JNIEnv* env, jobject obj, jboolean is_enabled);
18
19 private:
20 content::WebContents* web_contents_;
21 };
Ted C 2013/12/17 00:59:00 add: DISALLOW_COPY_AND_ASSIGN(VoiceSearchTabHelpe
apiccion 2013/12/17 21:17:11 Done.
22
23 bool RegisterVoiceSearchTabHelper(JNIEnv* env);
24 #endif // CHROME_BROWSER_ANDROID_VOICE_SEARCH_TAB_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698