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

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, 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_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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 blink::WebRect ViewRect() override; 296 blink::WebRect ViewRect() override;
297 void SetToolTipText(const blink::WebString& text, 297 void SetToolTipText(const blink::WebString& text,
298 blink::WebTextDirection hint) override; 298 blink::WebTextDirection hint) override;
299 void SetWindowRect(const blink::WebRect&) override; 299 void SetWindowRect(const blink::WebRect&) override;
300 blink::WebScreenInfo GetScreenInfo() override; 300 blink::WebScreenInfo GetScreenInfo() override;
301 void DidHandleGestureEvent(const blink::WebGestureEvent& event, 301 void DidHandleGestureEvent(const blink::WebGestureEvent& event,
302 bool event_cancelled) override; 302 bool event_cancelled) override;
303 void DidOverscroll(const blink::WebFloatSize& overscrollDelta, 303 void DidOverscroll(const blink::WebFloatSize& overscrollDelta,
304 const blink::WebFloatSize& accumulatedOverscroll, 304 const blink::WebFloatSize& accumulatedOverscroll,
305 const blink::WebFloatPoint& position, 305 const blink::WebFloatPoint& position,
306 const blink::WebFloatSize& velocity) override; 306 const blink::WebFloatSize& velocity,
307 const blink::WebScrollBoundaryBehavior& behavior) override;
307 void ShowVirtualKeyboardOnElementFocus() override; 308 void ShowVirtualKeyboardOnElementFocus() override;
308 void ConvertViewportToWindow(blink::WebRect* rect) override; 309 void ConvertViewportToWindow(blink::WebRect* rect) override;
309 void ConvertWindowToViewport(blink::WebFloatRect* rect) override; 310 void ConvertWindowToViewport(blink::WebFloatRect* rect) override;
310 bool RequestPointerLock() override; 311 bool RequestPointerLock() override;
311 void RequestPointerUnlock() override; 312 void RequestPointerUnlock() override;
312 bool IsPointerLocked() override; 313 bool IsPointerLocked() override;
313 void StartDragging(blink::WebReferrerPolicy policy, 314 void StartDragging(blink::WebReferrerPolicy policy,
314 const blink::WebDragData& data, 315 const blink::WebDragData& data,
315 blink::WebDragOperationsMask mask, 316 blink::WebDragOperationsMask mask,
316 const blink::WebImage& image, 317 const blink::WebImage& image,
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 mojo::Binding<mojom::Widget> widget_binding_; 906 mojo::Binding<mojom::Widget> widget_binding_;
906 907
907 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 908 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
908 909
909 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 910 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
910 }; 911 };
911 912
912 } // namespace content 913 } // namespace content
913 914
914 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 915 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698