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

Side by Side Diff: content/browser/web_contents/web_contents_android.h

Issue 2528823002: Separate SwipeRefreshHandler and ContentViewCore (Closed)
Patch Set: Remove unused SwipeRefreshHandler.mNativeSwipeRefreshHandler field Created 4 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 void RequestAccessibilitySnapshot( 154 void RequestAccessibilitySnapshot(
155 JNIEnv* env, 155 JNIEnv* env,
156 const base::android::JavaParamRef<jobject>& obj, 156 const base::android::JavaParamRef<jobject>& obj,
157 const base::android::JavaParamRef<jobject>& callback); 157 const base::android::JavaParamRef<jobject>& callback);
158 158
159 base::android::ScopedJavaLocalRef<jstring> GetEncoding( 159 base::android::ScopedJavaLocalRef<jstring> GetEncoding(
160 JNIEnv* env, 160 JNIEnv* env,
161 const base::android::JavaParamRef<jobject>& obj) const; 161 const base::android::JavaParamRef<jobject>& obj) const;
162 162
163 void SetOverscrollRefreshHandler(
164 JNIEnv* env,
165 const base::android::JavaParamRef<jobject>& obj,
166 const base::android::JavaParamRef<jobject>& overscroll_refresh_handler);
167
163 // Relay the access from Java layer to GetScaledContentBitmap through JNI. 168 // Relay the access from Java layer to GetScaledContentBitmap through JNI.
164 void GetContentBitmap(JNIEnv* env, 169 void GetContentBitmap(JNIEnv* env,
165 const base::android::JavaParamRef<jobject>& obj, 170 const base::android::JavaParamRef<jobject>& obj,
166 const base::android::JavaParamRef<jobject>& jcallback, 171 const base::android::JavaParamRef<jobject>& jcallback,
167 const base::android::JavaParamRef<jobject>& color_type, 172 const base::android::JavaParamRef<jobject>& color_type,
168 jfloat scale, 173 jfloat scale,
169 jfloat x, 174 jfloat x,
170 jfloat y, 175 jfloat y,
171 jfloat width, 176 jfloat width,
172 jfloat height); 177 jfloat height);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 base::android::ScopedJavaGlobalRef<jobject> obj_; 215 base::android::ScopedJavaGlobalRef<jobject> obj_;
211 216
212 base::WeakPtrFactory<WebContentsAndroid> weak_factory_; 217 base::WeakPtrFactory<WebContentsAndroid> weak_factory_;
213 218
214 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid); 219 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid);
215 }; 220 };
216 221
217 } // namespace content 222 } // namespace content
218 223
219 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 224 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698