| 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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 // initialized. | 498 // initialized. |
| 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); | |
| 509 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); | 508 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); |
| 510 | 509 |
| 511 #if defined(OS_ANDROID) | 510 #if defined(OS_ANDROID) |
| 512 // Called when we send IME event that expects an ACK. | 511 // Called when we send IME event that expects an ACK. |
| 513 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); | 512 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); |
| 514 | 513 |
| 515 // Called by the browser process for every required IME acknowledgement. | 514 // Called by the browser process for every required IME acknowledgement. |
| 516 void OnImeEventAck(); | 515 void OnImeEventAck(); |
| 517 | 516 |
| 518 // Called by the browser process to update text input state. | 517 // 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 | 826 // 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. | 827 // session, this info is sent to the browser along with other drag/drop info. |
| 829 DragEventSourceInfo possible_drag_event_info_; | 828 DragEventSourceInfo possible_drag_event_info_; |
| 830 | 829 |
| 831 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 830 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 832 }; | 831 }; |
| 833 | 832 |
| 834 } // namespace content | 833 } // namespace content |
| 835 | 834 |
| 836 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 835 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |