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

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

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Rebase Created 3 years, 3 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 | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.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 CONTENT_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 blink::WebRect ViewRect() override; 297 blink::WebRect ViewRect() override;
298 void SetToolTipText(const blink::WebString& text, 298 void SetToolTipText(const blink::WebString& text,
299 blink::WebTextDirection hint) override; 299 blink::WebTextDirection hint) override;
300 void SetWindowRect(const blink::WebRect&) override; 300 void SetWindowRect(const blink::WebRect&) override;
301 blink::WebScreenInfo GetScreenInfo() override; 301 blink::WebScreenInfo GetScreenInfo() override;
302 void DidHandleGestureEvent(const blink::WebGestureEvent& event, 302 void DidHandleGestureEvent(const blink::WebGestureEvent& event,
303 bool event_cancelled) override; 303 bool event_cancelled) override;
304 void DidOverscroll(const blink::WebFloatSize& overscrollDelta, 304 void DidOverscroll(const blink::WebFloatSize& overscrollDelta,
305 const blink::WebFloatSize& accumulatedOverscroll, 305 const blink::WebFloatSize& accumulatedOverscroll,
306 const blink::WebFloatPoint& position, 306 const blink::WebFloatPoint& position,
307 const blink::WebFloatSize& velocity) override; 307 const blink::WebFloatSize& velocity,
308 const blink::WebScrollBoundaryBehavior& behavior) override;
308 void ShowVirtualKeyboardOnElementFocus() override; 309 void ShowVirtualKeyboardOnElementFocus() override;
309 void ConvertViewportToWindow(blink::WebRect* rect) override; 310 void ConvertViewportToWindow(blink::WebRect* rect) override;
310 void ConvertWindowToViewport(blink::WebFloatRect* rect) override; 311 void ConvertWindowToViewport(blink::WebFloatRect* rect) override;
311 bool RequestPointerLock() override; 312 bool RequestPointerLock() override;
312 void RequestPointerUnlock() override; 313 void RequestPointerUnlock() override;
313 bool IsPointerLocked() override; 314 bool IsPointerLocked() override;
314 void StartDragging(blink::WebReferrerPolicy policy, 315 void StartDragging(blink::WebReferrerPolicy policy,
315 const blink::WebDragData& data, 316 const blink::WebDragData& data,
316 blink::WebDragOperationsMask mask, 317 blink::WebDragOperationsMask mask,
317 const blink::WebImage& image, 318 const blink::WebImage& image,
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 mojo::Binding<mojom::Widget> widget_binding_; 903 mojo::Binding<mojom::Widget> widget_binding_;
903 904
904 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 905 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
905 906
906 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 907 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
907 }; 908 };
908 909
909 } // namespace content 910 } // namespace content
910 911
911 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 912 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698