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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: rebase Created 3 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
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 CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 bool CanUpdateLayout() override; 261 bool CanUpdateLayout() override;
262 262
263 // TODO(lfg): Remove once WebViewClient no longer inherits from 263 // TODO(lfg): Remove once WebViewClient no longer inherits from
264 // WebWidgetClient. 264 // WebWidgetClient.
265 void CloseWidgetSoon() override; 265 void CloseWidgetSoon() override;
266 void ConvertViewportToWindow(blink::WebRect* rect) override; 266 void ConvertViewportToWindow(blink::WebRect* rect) override;
267 void ConvertWindowToViewport(blink::WebFloatRect* rect) override; 267 void ConvertWindowToViewport(blink::WebFloatRect* rect) override;
268 void DidOverscroll(const blink::WebFloatSize& overscrollDelta, 268 void DidOverscroll(const blink::WebFloatSize& overscrollDelta,
269 const blink::WebFloatSize& accumulatedOverscroll, 269 const blink::WebFloatSize& accumulatedOverscroll,
270 const blink::WebFloatPoint& positionInViewport, 270 const blink::WebFloatPoint& positionInViewport,
271 const blink::WebFloatSize& velocityInViewport) override; 271 const blink::WebFloatSize& velocityInViewport,
272 const blink::WebScrollBoundaryBehavior& behavior) override;
272 void HasTouchEventHandlers(bool has_handlers) override; 273 void HasTouchEventHandlers(bool has_handlers) override;
273 blink::WebScreenInfo GetScreenInfo() override; 274 blink::WebScreenInfo GetScreenInfo() override;
274 void SetToolTipText(const blink::WebString&, 275 void SetToolTipText(const blink::WebString&,
275 blink::WebTextDirection hint) override; 276 blink::WebTextDirection hint) override;
276 void SetTouchAction(cc::TouchAction touchAction) override; 277 void SetTouchAction(cc::TouchAction touchAction) override;
277 void ShowUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition, 278 void ShowUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition,
278 const blink::WebNode& tappedNode, 279 const blink::WebNode& tappedNode,
279 bool pageChanged) override; 280 bool pageChanged) override;
280 blink::WebWidgetClient* WidgetClient() override; 281 blink::WebWidgetClient* WidgetClient() override;
281 282
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 // --------------------------------------------------------------------------- 813 // ---------------------------------------------------------------------------
813 814
814 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; 815 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_;
815 816
816 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 817 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
817 }; 818 };
818 819
819 } // namespace content 820 } // namespace content
820 821
821 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 822 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698