| 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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 virtual void OnDeviceScaleFactorChanged(); | 488 virtual void OnDeviceScaleFactorChanged(); |
| 489 | 489 |
| 490 void OnRepaint(gfx::Size size_to_paint); | 490 void OnRepaint(gfx::Size size_to_paint); |
| 491 void OnSyntheticGestureCompleted(); | 491 void OnSyntheticGestureCompleted(); |
| 492 void OnSetTextDirection(blink::WebTextDirection direction); | 492 void OnSetTextDirection(blink::WebTextDirection direction); |
| 493 void OnGetFPS(); | 493 void OnGetFPS(); |
| 494 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 494 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
| 495 const gfx::Rect& window_screen_rect); | 495 const gfx::Rect& window_screen_rect); |
| 496 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); | 496 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); |
| 497 void OnShowImeIfNeeded(); | 497 void OnShowImeIfNeeded(); |
| 498 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id); | |
| 499 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); | 498 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); |
| 500 | 499 |
| 501 #if defined(OS_ANDROID) | 500 #if defined(OS_ANDROID) |
| 502 // Called when we send IME event that expects an ACK. | 501 // Called when we send IME event that expects an ACK. |
| 503 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); | 502 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); |
| 504 | 503 |
| 505 // Called by the browser process for every required IME acknowledgement. | 504 // Called by the browser process for every required IME acknowledgement. |
| 506 void OnImeEventAck(); | 505 void OnImeEventAck(); |
| 507 | 506 |
| 508 // Called by the browser process to update text input state. | 507 // Called by the browser process to update text input state. |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 820 // Stores edit commands associated to the next key event. | 819 // Stores edit commands associated to the next key event. |
| 821 // Will be cleared as soon as the next key event is processed. | 820 // Will be cleared as soon as the next key event is processed. |
| 822 EditCommands edit_commands_; | 821 EditCommands edit_commands_; |
| 823 | 822 |
| 824 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 823 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 825 }; | 824 }; |
| 826 | 825 |
| 827 } // namespace content | 826 } // namespace content |
| 828 | 827 |
| 829 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 828 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |