Index: components/dom_distiller/core/distilled_page_prefs_android.h |
diff --git a/components/dom_distiller/core/distilled_page_prefs_android.h b/components/dom_distiller/core/distilled_page_prefs_android.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0f861aad54af41d7dc1f41a2f067b930f45017c5 |
--- /dev/null |
+++ b/components/dom_distiller/core/distilled_page_prefs_android.h |
@@ -0,0 +1,35 @@ |
+// Copyright 2014 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 COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_ANDROID_H_ |
+#define COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_ANDROID_H_ |
+ |
+#include <jni.h> |
+ |
+#include "base/android/scoped_java_ref.h" |
+#include "components/dom_distiller/core/distilled_page_prefs.h" |
+ |
+namespace dom_distiller { |
+namespace android { |
+ |
+class DistilledPagePrefsAndroid { |
+ public: |
+ DistilledPagePrefsAndroid(JNIEnv* env, |
+ jobject obj, |
+ DistilledPagePrefs* distillerPagePrefsPtr); |
+ virtual ~DistilledPagePrefsAndroid(); |
+ static bool Register(JNIEnv* env); |
+ void SetTheme(JNIEnv* env, jobject obj, jint theme); |
+ jint GetThemeValue(JNIEnv* env, jobject obj); |
nyquist
2014/07/09 23:49:05
s/Value//
sunangel
2014/07/10 14:31:53
If you meant change GetThemeValue to GetTheme I di
nyquist
2014/07/10 15:59:58
Yes. Thanks!
On 2014/07/10 14:31:53, sunangel wro
|
+ |
+ private: |
+ DistilledPagePrefs* distilled_page_prefs_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(DistilledPagePrefsAndroid); |
+}; |
+ |
+} // namespace android |
+} // namespace dom_distiller |
+ |
+#endif // COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_ANDROID_H_ |