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

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: Fixed the comments Created 3 years, 7 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 blink::WebRect ViewRect() override; 291 blink::WebRect ViewRect() override;
292 void SetToolTipText(const blink::WebString& text, 292 void SetToolTipText(const blink::WebString& text,
293 blink::WebTextDirection hint) override; 293 blink::WebTextDirection hint) override;
294 void SetWindowRect(const blink::WebRect&) override; 294 void SetWindowRect(const blink::WebRect&) override;
295 blink::WebScreenInfo GetScreenInfo() override; 295 blink::WebScreenInfo GetScreenInfo() override;
296 void DidHandleGestureEvent(const blink::WebGestureEvent& event, 296 void DidHandleGestureEvent(const blink::WebGestureEvent& event,
297 bool event_cancelled) override; 297 bool event_cancelled) override;
298 void DidOverscroll(const blink::WebFloatSize& overscrollDelta, 298 void DidOverscroll(const blink::WebFloatSize& overscrollDelta,
299 const blink::WebFloatSize& accumulatedOverscroll, 299 const blink::WebFloatSize& accumulatedOverscroll,
300 const blink::WebFloatPoint& position, 300 const blink::WebFloatPoint& position,
301 const blink::WebFloatSize& velocity) override; 301 const blink::WebFloatSize& velocity,
302 const blink::WebScrollBoundaryBehavior& behavior) override;
302 void ShowVirtualKeyboardOnElementFocus() override; 303 void ShowVirtualKeyboardOnElementFocus() override;
303 void ConvertViewportToWindow(blink::WebRect* rect) override; 304 void ConvertViewportToWindow(blink::WebRect* rect) override;
304 void ConvertWindowToViewport(blink::WebFloatRect* rect) override; 305 void ConvertWindowToViewport(blink::WebFloatRect* rect) override;
305 bool RequestPointerLock() override; 306 bool RequestPointerLock() override;
306 void RequestPointerUnlock() override; 307 void RequestPointerUnlock() override;
307 bool IsPointerLocked() override; 308 bool IsPointerLocked() override;
308 void StartDragging(blink::WebReferrerPolicy policy, 309 void StartDragging(blink::WebReferrerPolicy policy,
309 const blink::WebDragData& data, 310 const blink::WebDragData& data,
310 blink::WebDragOperationsMask mask, 311 blink::WebDragOperationsMask mask,
311 const blink::WebImage& image, 312 const blink::WebImage& image,
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 scoped_refptr<MainThreadEventQueue> input_event_queue_; 886 scoped_refptr<MainThreadEventQueue> input_event_queue_;
886 887
887 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 888 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
888 889
889 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 890 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
890 }; 891 };
891 892
892 } // namespace content 893 } // namespace content
893 894
894 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 895 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698