Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |