OLD | NEW |
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 Loading... |
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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 mojo::Binding<mojom::Widget> widget_binding_; | 916 mojo::Binding<mojom::Widget> widget_binding_; |
916 | 917 |
917 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; | 918 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; |
918 | 919 |
919 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 920 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
920 }; | 921 }; |
921 | 922 |
922 } // namespace content | 923 } // namespace content |
923 | 924 |
924 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 925 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |