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

Side by Side Diff: components/dom_distiller/core/distilled_page_prefs_android.h

Issue 340403004: Java wrapper for DistilledPagePrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Formatting changes, added test Created 6 years, 5 months 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 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 COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_ANDROID_H_
6 #define COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_ANDROID_H_
7
8 #include <jni.h>
9
10 #include "base/android/scoped_java_ref.h"
11 #include "components/dom_distiller/core/distilled_page_prefs.h"
12
13 namespace dom_distiller {
14 namespace android {
15
16 class DistilledPagePrefsAndroid {
17 public:
18 DistilledPagePrefsAndroid(JNIEnv* env,
19 jobject obj,
20 DistilledPagePrefs* distillerPagePrefsPtr);
21 virtual ~DistilledPagePrefsAndroid();
22 static bool Register(JNIEnv* env);
23 void SetTheme(JNIEnv* env, jobject obj, jint theme);
24 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
25
26 private:
27 DistilledPagePrefs* distilled_page_prefs_;
28
29 DISALLOW_COPY_AND_ASSIGN(DistilledPagePrefsAndroid);
30 };
31
32 } // namespace android
33 } // namespace dom_distiller
34
35 #endif // COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698