| 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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 // initialized. | 503 // initialized. |
| 504 virtual void OnDeviceScaleFactorChanged(); | 504 virtual void OnDeviceScaleFactorChanged(); |
| 505 | 505 |
| 506 void OnRepaint(gfx::Size size_to_paint); | 506 void OnRepaint(gfx::Size size_to_paint); |
| 507 void OnSyntheticGestureCompleted(); | 507 void OnSyntheticGestureCompleted(); |
| 508 void OnSetTextDirection(blink::WebTextDirection direction); | 508 void OnSetTextDirection(blink::WebTextDirection direction); |
| 509 void OnGetFPS(); | 509 void OnGetFPS(); |
| 510 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 510 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
| 511 const gfx::Rect& window_screen_rect); | 511 const gfx::Rect& window_screen_rect); |
| 512 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); | 512 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); |
| 513 void OnSetViewportIntersection(const gfx::Rect& viewport_intersection); |
| 513 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); | 514 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); |
| 514 // Real data that is dragged is not included at DragEnter time. | 515 // Real data that is dragged is not included at DragEnter time. |
| 515 void OnDragTargetDragEnter( | 516 void OnDragTargetDragEnter( |
| 516 const std::vector<DropData::Metadata>& drop_meta_data, | 517 const std::vector<DropData::Metadata>& drop_meta_data, |
| 517 const gfx::Point& client_pt, | 518 const gfx::Point& client_pt, |
| 518 const gfx::Point& screen_pt, | 519 const gfx::Point& screen_pt, |
| 519 blink::WebDragOperationsMask operations_allowed, | 520 blink::WebDragOperationsMask operations_allowed, |
| 520 int key_modifiers); | 521 int key_modifiers); |
| 521 void OnDragTargetDragOver(const gfx::Point& client_pt, | 522 void OnDragTargetDragOver(const gfx::Point& client_pt, |
| 522 const gfx::Point& screen_pt, | 523 const gfx::Point& screen_pt, |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 858 // being handled. If the current event results in starting a drag/drop | 859 // being handled. If the current event results in starting a drag/drop |
| 859 // session, this info is sent to the browser along with other drag/drop info. | 860 // session, this info is sent to the browser along with other drag/drop info. |
| 860 DragEventSourceInfo possible_drag_event_info_; | 861 DragEventSourceInfo possible_drag_event_info_; |
| 861 | 862 |
| 862 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 863 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 863 }; | 864 }; |
| 864 | 865 |
| 865 } // namespace content | 866 } // namespace content |
| 866 | 867 |
| 867 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 868 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |