Chromium Code Reviews| Index: chrome/browser/android/voice_search_tab_helper.h |
| diff --git a/chrome/browser/android/voice_search_tab_helper.h b/chrome/browser/android/voice_search_tab_helper.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..407c4281f493a2e122eee01cc3e522a8dc674b89 |
| --- /dev/null |
| +++ b/chrome/browser/android/voice_search_tab_helper.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_ANDROID_VOICE_SEARCH_TAB_HELPER_H_ |
| +#define CHROME_BROWSER_ANDROID_VOICE_SEARCH_TAB_HELPER_H_ |
| + |
| +#include "base/android/jni_android.h" |
| + |
| +namespace content { |
| +class WebContents; |
| +} |
| + |
| +class VoiceSearchTabHelper { |
| + public: |
| + explicit VoiceSearchTabHelper(content::WebContents* web_contents); |
| + void SetMediaAutoplayEnabled(JNIEnv* env, jobject obj, jboolean is_enabled); |
| + |
| + private: |
| + content::WebContents* web_contents_; |
| +}; |
|
Ted C
2013/12/17 00:59:00
add:
DISALLOW_COPY_AND_ASSIGN(VoiceSearchTabHelpe
apiccion
2013/12/17 21:17:11
Done.
|
| + |
| +bool RegisterVoiceSearchTabHelper(JNIEnv* env); |
| +#endif // CHROME_BROWSER_ANDROID_VOICE_SEARCH_TAB_HELPER_H_ |