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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 679493002: [Android] Add a native pull-to-refresh overscroll effect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix findbugs... Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/android/browser_jni_registrar.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 15746172097c5e08601c36f347f454414187482c..9e36ba352fc4e97d92516181904a7442cbf23ac9 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -51,7 +51,7 @@ class ContentViewCoreImpl : public ContentViewCore,
virtual WebContents* GetWebContents() const override;
virtual ui::ViewAndroid* GetViewAndroid() const override;
virtual ui::WindowAndroid* GetWindowAndroid() const override;
- virtual scoped_refptr<cc::Layer> GetLayer() const override;
+ virtual const scoped_refptr<cc::Layer>& GetLayer() const override;
virtual void ShowPastePopup(int x, int y) override;
virtual void GetScaledContentBitmap(
float scale,
@@ -295,7 +295,7 @@ class ContentViewCoreImpl : public ContentViewCore,
void InitWebContents();
- RenderWidgetHostViewAndroid* GetRenderWidgetHostViewAndroid();
+ RenderWidgetHostViewAndroid* GetRenderWidgetHostViewAndroid() const;
blink::WebGestureEvent MakeGestureEvent(
blink::WebInputEvent::Type type, int64 time_ms, float x, float y) const;
« no previous file with comments | « content/browser/android/browser_jni_registrar.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698