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

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: Mark OverscrollRefresh() as protected. 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_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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 blink::WebRect ViewRect() override; 298 blink::WebRect ViewRect() override;
299 void SetToolTipText(const blink::WebString& text, 299 void SetToolTipText(const blink::WebString& text,
300 blink::WebTextDirection hint) override; 300 blink::WebTextDirection hint) override;
301 void SetWindowRect(const blink::WebRect&) override; 301 void SetWindowRect(const blink::WebRect&) override;
302 blink::WebScreenInfo GetScreenInfo() override; 302 blink::WebScreenInfo GetScreenInfo() override;
303 void DidHandleGestureEvent(const blink::WebGestureEvent& event, 303 void DidHandleGestureEvent(const blink::WebGestureEvent& event,
304 bool event_cancelled) override; 304 bool event_cancelled) override;
305 void DidOverscroll(const blink::WebFloatSize& overscrollDelta, 305 void DidOverscroll(const blink::WebFloatSize& overscrollDelta,
306 const blink::WebFloatSize& accumulatedOverscroll, 306 const blink::WebFloatSize& accumulatedOverscroll,
307 const blink::WebFloatPoint& position, 307 const blink::WebFloatPoint& position,
308 const blink::WebFloatSize& velocity) override; 308 const blink::WebFloatSize& velocity,
309 const blink::WebScrollBoundaryBehavior& behavior) override;
309 void ShowVirtualKeyboardOnElementFocus() override; 310 void ShowVirtualKeyboardOnElementFocus() override;
310 void ConvertViewportToWindow(blink::WebRect* rect) override; 311 void ConvertViewportToWindow(blink::WebRect* rect) override;
311 void ConvertWindowToViewport(blink::WebFloatRect* rect) override; 312 void ConvertWindowToViewport(blink::WebFloatRect* rect) override;
312 bool RequestPointerLock() override; 313 bool RequestPointerLock() override;
313 void RequestPointerUnlock() override; 314 void RequestPointerUnlock() override;
314 bool IsPointerLocked() override; 315 bool IsPointerLocked() override;
315 void StartDragging(blink::WebReferrerPolicy policy, 316 void StartDragging(blink::WebReferrerPolicy policy,
316 const blink::WebDragData& data, 317 const blink::WebDragData& data,
317 blink::WebDragOperationsMask mask, 318 blink::WebDragOperationsMask mask,
318 const blink::WebImage& image, 319 const blink::WebImage& image,
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 mojo::Binding<mojom::Widget> widget_binding_; 920 mojo::Binding<mojom::Widget> widget_binding_;
920 921
921 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 922 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
922 923
923 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 924 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
924 }; 925 };
925 926
926 } // namespace content 927 } // namespace content
927 928
928 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 929 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698