| 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |