| 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 895 scoped_refptr<MainThreadEventQueue> input_event_queue_; | 896 scoped_refptr<MainThreadEventQueue> input_event_queue_; |
| 896 | 897 |
| 897 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; | 898 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; |
| 898 | 899 |
| 899 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 900 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 900 }; | 901 }; |
| 901 | 902 |
| 902 } // namespace content | 903 } // namespace content |
| 903 | 904 |
| 904 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 905 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |