| 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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 // initialized. | 500 // initialized. |
| 501 virtual void OnDeviceScaleFactorChanged(); | 501 virtual void OnDeviceScaleFactorChanged(); |
| 502 | 502 |
| 503 void OnRepaint(gfx::Size size_to_paint); | 503 void OnRepaint(gfx::Size size_to_paint); |
| 504 void OnSyntheticGestureCompleted(); | 504 void OnSyntheticGestureCompleted(); |
| 505 void OnSetTextDirection(blink::WebTextDirection direction); | 505 void OnSetTextDirection(blink::WebTextDirection direction); |
| 506 void OnGetFPS(); | 506 void OnGetFPS(); |
| 507 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 507 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
| 508 const gfx::Rect& window_screen_rect); | 508 const gfx::Rect& window_screen_rect); |
| 509 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); | 509 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); |
| 510 void OnSetViewportIntersection(const gfx::Rect& viewport_intersection); |
| 510 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); | 511 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); |
| 511 // Real data that is dragged is not included at DragEnter time. | 512 // Real data that is dragged is not included at DragEnter time. |
| 512 void OnDragTargetDragEnter( | 513 void OnDragTargetDragEnter( |
| 513 const std::vector<DropData::Metadata>& drop_meta_data, | 514 const std::vector<DropData::Metadata>& drop_meta_data, |
| 514 const gfx::Point& client_pt, | 515 const gfx::Point& client_pt, |
| 515 const gfx::Point& screen_pt, | 516 const gfx::Point& screen_pt, |
| 516 blink::WebDragOperationsMask operations_allowed, | 517 blink::WebDragOperationsMask operations_allowed, |
| 517 int key_modifiers); | 518 int key_modifiers); |
| 518 void OnDragTargetDragOver(const gfx::Point& client_pt, | 519 void OnDragTargetDragOver(const gfx::Point& client_pt, |
| 519 const gfx::Point& screen_pt, | 520 const gfx::Point& screen_pt, |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 828 // being handled. If the current event results in starting a drag/drop | 829 // being handled. If the current event results in starting a drag/drop |
| 829 // session, this info is sent to the browser along with other drag/drop info. | 830 // session, this info is sent to the browser along with other drag/drop info. |
| 830 DragEventSourceInfo possible_drag_event_info_; | 831 DragEventSourceInfo possible_drag_event_info_; |
| 831 | 832 |
| 832 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 833 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 833 }; | 834 }; |
| 834 | 835 |
| 835 } // namespace content | 836 } // namespace content |
| 836 | 837 |
| 837 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 838 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |