| 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 virtual void OnDeviceScaleFactorChanged(); | 525 virtual void OnDeviceScaleFactorChanged(); |
| 526 | 526 |
| 527 void OnRepaint(gfx::Size size_to_paint); | 527 void OnRepaint(gfx::Size size_to_paint); |
| 528 void OnSyntheticGestureCompleted(); | 528 void OnSyntheticGestureCompleted(); |
| 529 void OnSetTextDirection(blink::WebTextDirection direction); | 529 void OnSetTextDirection(blink::WebTextDirection direction); |
| 530 void OnGetFPS(); | 530 void OnGetFPS(); |
| 531 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 531 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
| 532 const gfx::Rect& window_screen_rect); | 532 const gfx::Rect& window_screen_rect); |
| 533 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); | 533 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); |
| 534 void OnSetViewportIntersection(const gfx::Rect& viewport_intersection); | 534 void OnSetViewportIntersection(const gfx::Rect& viewport_intersection); |
| 535 void OnSetIsInert(bool); |
| 535 // Real data that is dragged is not included at DragEnter time. | 536 // Real data that is dragged is not included at DragEnter time. |
| 536 void OnDragTargetDragEnter( | 537 void OnDragTargetDragEnter( |
| 537 const std::vector<DropData::Metadata>& drop_meta_data, | 538 const std::vector<DropData::Metadata>& drop_meta_data, |
| 538 const gfx::Point& client_pt, | 539 const gfx::Point& client_pt, |
| 539 const gfx::Point& screen_pt, | 540 const gfx::Point& screen_pt, |
| 540 blink::WebDragOperationsMask operations_allowed, | 541 blink::WebDragOperationsMask operations_allowed, |
| 541 int key_modifiers); | 542 int key_modifiers); |
| 542 void OnDragTargetDragOver(const gfx::Point& client_pt, | 543 void OnDragTargetDragOver(const gfx::Point& client_pt, |
| 543 const gfx::Point& screen_pt, | 544 const gfx::Point& screen_pt, |
| 544 blink::WebDragOperationsMask operations_allowed, | 545 blink::WebDragOperationsMask operations_allowed, |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 898 scoped_refptr<MainThreadEventQueue> input_event_queue_; | 899 scoped_refptr<MainThreadEventQueue> input_event_queue_; |
| 899 | 900 |
| 900 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; | 901 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; |
| 901 | 902 |
| 902 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 903 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 903 }; | 904 }; |
| 904 | 905 |
| 905 } // namespace content | 906 } // namespace content |
| 906 | 907 |
| 907 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 908 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |