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

Side by Side Diff: android_webview/native/aw_contents.h

Issue 950973003: Remove android_webview/browser layer's dependency on native (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « android_webview/browser/browser_view_renderer.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 gfx::Point GetLocationOnScreen() override; 197 gfx::Point GetLocationOnScreen() override;
198 void ScrollContainerViewTo(gfx::Vector2d new_value) override; 198 void ScrollContainerViewTo(gfx::Vector2d new_value) override;
199 bool IsFlingActive() const override; 199 bool IsFlingActive() const override;
200 void UpdateScrollState(gfx::Vector2d max_scroll_offset, 200 void UpdateScrollState(gfx::Vector2d max_scroll_offset,
201 gfx::SizeF contents_size_dip, 201 gfx::SizeF contents_size_dip,
202 float page_scale_factor, 202 float page_scale_factor,
203 float min_page_scale_factor, 203 float min_page_scale_factor,
204 float max_page_scale_factor) override; 204 float max_page_scale_factor) override;
205 void DidOverscroll(gfx::Vector2d overscroll_delta) override; 205 void DidOverscroll(gfx::Vector2d overscroll_delta) override;
206 206
207 const BrowserViewRenderer* GetBrowserViewRenderer() const;
208
209 void ClearCache(JNIEnv* env, jobject obj, jboolean include_disk_files); 207 void ClearCache(JNIEnv* env, jobject obj, jboolean include_disk_files);
210 void SetPendingWebContentsForPopup(scoped_ptr<content::WebContents> pending); 208 void SetPendingWebContentsForPopup(scoped_ptr<content::WebContents> pending);
211 jlong ReleasePopupAwContents(JNIEnv* env, jobject obj); 209 jlong ReleasePopupAwContents(JNIEnv* env, jobject obj);
212 210
213 void ScrollTo(JNIEnv* env, jobject obj, jint x, jint y); 211 void ScrollTo(JNIEnv* env, jobject obj, jint x, jint y);
214 void SetDipScale(JNIEnv* env, jobject obj, jfloat dip_scale); 212 void SetDipScale(JNIEnv* env, jobject obj, jfloat dip_scale);
215 void SetSaveFormData(bool enabled); 213 void SetSaveFormData(bool enabled);
216 214
217 // Sets the java client 215 // Sets the java client
218 void SetAwAutofillClient(jobject client); 216 void SetAwAutofillClient(jobject client);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 GLViewRendererManager::Key renderer_manager_key_; 254 GLViewRendererManager::Key renderer_manager_key_;
257 255
258 DISALLOW_COPY_AND_ASSIGN(AwContents); 256 DISALLOW_COPY_AND_ASSIGN(AwContents);
259 }; 257 };
260 258
261 bool RegisterAwContents(JNIEnv* env); 259 bool RegisterAwContents(JNIEnv* env);
262 260
263 } // namespace android_webview 261 } // namespace android_webview
264 262
265 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 263 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
OLDNEW
« no previous file with comments | « android_webview/browser/browser_view_renderer.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698