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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 virtual void OnDeviceScaleFactorChanged(); | 462 virtual void OnDeviceScaleFactorChanged(); |
463 | 463 |
464 void OnRepaint(gfx::Size size_to_paint); | 464 void OnRepaint(gfx::Size size_to_paint); |
465 void OnSyntheticGestureCompleted(); | 465 void OnSyntheticGestureCompleted(); |
466 void OnSetTextDirection(blink::WebTextDirection direction); | 466 void OnSetTextDirection(blink::WebTextDirection direction); |
467 void OnGetFPS(); | 467 void OnGetFPS(); |
468 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 468 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
469 const gfx::Rect& window_screen_rect); | 469 const gfx::Rect& window_screen_rect); |
470 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); | 470 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); |
471 void OnShowImeIfNeeded(); | 471 void OnShowImeIfNeeded(); |
472 void OnSetSurfaceIdNamespace(uint32_t surface_id_namespace); | 472 void OnSetSurfaceClientId(uint32_t surface_id_namespace); |
473 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); | 473 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); |
474 | 474 |
475 #if defined(OS_ANDROID) | 475 #if defined(OS_ANDROID) |
476 // Called when we send IME event that expects an ACK. | 476 // Called when we send IME event that expects an ACK. |
477 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); | 477 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); |
478 | 478 |
479 // Called by the browser process for every required IME acknowledgement. | 479 // Called by the browser process for every required IME acknowledgement. |
480 void OnImeEventAck(); | 480 void OnImeEventAck(); |
481 | 481 |
482 // Called by the browser process to update text input state. | 482 // Called by the browser process to update text input state. |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
768 | 768 |
769 // Indicates whether this widget has focus. | 769 // Indicates whether this widget has focus. |
770 bool has_focus_; | 770 bool has_focus_; |
771 | 771 |
772 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 772 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
773 }; | 773 }; |
774 | 774 |
775 } // namespace content | 775 } // namespace content |
776 | 776 |
777 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 777 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |