| 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 | 503 |
| 504 void OnRepaint(gfx::Size size_to_paint); | 504 void OnRepaint(gfx::Size size_to_paint); |
| 505 void OnSyntheticGestureCompleted(); | 505 void OnSyntheticGestureCompleted(); |
| 506 void OnSetTextDirection(blink::WebTextDirection direction); | 506 void OnSetTextDirection(blink::WebTextDirection direction); |
| 507 void OnGetFPS(); | 507 void OnGetFPS(); |
| 508 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 508 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
| 509 const gfx::Rect& window_screen_rect); | 509 const gfx::Rect& window_screen_rect); |
| 510 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); | 510 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); |
| 511 void OnShowImeIfNeeded(); | 511 void OnShowImeIfNeeded(); |
| 512 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id); | 512 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id); |
| 513 void OnSetViewportIntersection(const gfx::Rect& viewport_intersection, |
| 514 const gfx::Point& root_offset); |
| 513 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); | 515 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); |
| 514 | 516 |
| 515 #if defined(OS_ANDROID) | 517 #if defined(OS_ANDROID) |
| 516 // Called when we send IME event that expects an ACK. | 518 // Called when we send IME event that expects an ACK. |
| 517 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); | 519 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); |
| 518 | 520 |
| 519 // Called by the browser process for every required IME acknowledgement. | 521 // Called by the browser process for every required IME acknowledgement. |
| 520 void OnImeEventAck(); | 522 void OnImeEventAck(); |
| 521 | 523 |
| 522 // Called by the browser process to update text input state. | 524 // Called by the browser process to update text input state. |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 831 // Stores edit commands associated to the next key event. | 833 // Stores edit commands associated to the next key event. |
| 832 // Will be cleared as soon as the next key event is processed. | 834 // Will be cleared as soon as the next key event is processed. |
| 833 EditCommands edit_commands_; | 835 EditCommands edit_commands_; |
| 834 | 836 |
| 835 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 837 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 836 }; | 838 }; |
| 837 | 839 |
| 838 } // namespace content | 840 } // namespace content |
| 839 | 841 |
| 840 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 842 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |