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

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: Update ScrollManager to pass the test. Created 3 years, 4 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 bool CanUpdateLayout() override; 259 bool CanUpdateLayout() override;
260 260
261 // TODO(lfg): Remove once WebViewClient no longer inherits from 261 // TODO(lfg): Remove once WebViewClient no longer inherits from
262 // WebWidgetClient. 262 // WebWidgetClient.
263 void CloseWidgetSoon() override; 263 void CloseWidgetSoon() override;
264 void ConvertViewportToWindow(blink::WebRect* rect) override; 264 void ConvertViewportToWindow(blink::WebRect* rect) override;
265 void ConvertWindowToViewport(blink::WebFloatRect* rect) override; 265 void ConvertWindowToViewport(blink::WebFloatRect* rect) override;
266 void DidOverscroll(const blink::WebFloatSize& overscrollDelta, 266 void DidOverscroll(const blink::WebFloatSize& overscrollDelta,
267 const blink::WebFloatSize& accumulatedOverscroll, 267 const blink::WebFloatSize& accumulatedOverscroll,
268 const blink::WebFloatPoint& positionInViewport, 268 const blink::WebFloatPoint& positionInViewport,
269 const blink::WebFloatSize& velocityInViewport) override; 269 const blink::WebFloatSize& velocityInViewport,
270 const blink::WebScrollBoundaryBehavior& behavior) override;
270 void HasTouchEventHandlers(bool has_handlers) override; 271 void HasTouchEventHandlers(bool has_handlers) override;
271 blink::WebScreenInfo GetScreenInfo() override; 272 blink::WebScreenInfo GetScreenInfo() override;
272 void SetToolTipText(const blink::WebString&, 273 void SetToolTipText(const blink::WebString&,
273 blink::WebTextDirection hint) override; 274 blink::WebTextDirection hint) override;
274 void SetTouchAction(cc::TouchAction touchAction) override; 275 void SetTouchAction(cc::TouchAction touchAction) override;
275 void ShowUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition, 276 void ShowUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition,
276 const blink::WebNode& tappedNode, 277 const blink::WebNode& tappedNode,
277 bool pageChanged) override; 278 bool pageChanged) override;
278 blink::WebWidgetClient* WidgetClient() override; 279 blink::WebWidgetClient* WidgetClient() override;
279 280
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 // --------------------------------------------------------------------------- 814 // ---------------------------------------------------------------------------
814 815
815 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; 816 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_;
816 817
817 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 818 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
818 }; 819 };
819 820
820 } // namespace content 821 } // namespace content
821 822
822 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 823 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698