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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 virtual void OnDeviceScaleFactorChanged(); | 499 virtual void OnDeviceScaleFactorChanged(); |
500 | 500 |
501 void OnRepaint(gfx::Size size_to_paint); | 501 void OnRepaint(gfx::Size size_to_paint); |
502 void OnSyntheticGestureCompleted(); | 502 void OnSyntheticGestureCompleted(); |
503 void OnSetTextDirection(blink::WebTextDirection direction); | 503 void OnSetTextDirection(blink::WebTextDirection direction); |
504 void OnGetFPS(); | 504 void OnGetFPS(); |
505 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 505 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
506 const gfx::Rect& window_screen_rect); | 506 const gfx::Rect& window_screen_rect); |
507 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); | 507 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); |
508 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id); | 508 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id); |
| 509 void OnSetViewportIntersection(const gfx::Rect& viewport_intersection); |
509 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); | 510 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); |
510 | 511 |
511 #if defined(OS_ANDROID) | 512 #if defined(OS_ANDROID) |
512 // Called when we send IME event that expects an ACK. | 513 // Called when we send IME event that expects an ACK. |
513 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); | 514 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); |
514 | 515 |
515 // Called by the browser process for every required IME acknowledgement. | 516 // Called by the browser process for every required IME acknowledgement. |
516 void OnImeEventAck(); | 517 void OnImeEventAck(); |
517 | 518 |
518 // Called by the browser process to update text input state. | 519 // Called by the browser process to update text input state. |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
827 // being handled. If the current event results in starting a drag/drop | 828 // being handled. If the current event results in starting a drag/drop |
828 // session, this info is sent to the browser along with other drag/drop info. | 829 // session, this info is sent to the browser along with other drag/drop info. |
829 DragEventSourceInfo possible_drag_event_info_; | 830 DragEventSourceInfo possible_drag_event_info_; |
830 | 831 |
831 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 832 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
832 }; | 833 }; |
833 | 834 |
834 } // namespace content | 835 } // namespace content |
835 | 836 |
836 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 837 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |