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