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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 virtual void OnDeviceScaleFactorChanged(); | 472 virtual void OnDeviceScaleFactorChanged(); |
473 | 473 |
474 void OnRepaint(gfx::Size size_to_paint); | 474 void OnRepaint(gfx::Size size_to_paint); |
475 void OnSyntheticGestureCompleted(); | 475 void OnSyntheticGestureCompleted(); |
476 void OnSetTextDirection(blink::WebTextDirection direction); | 476 void OnSetTextDirection(blink::WebTextDirection direction); |
477 void OnGetFPS(); | 477 void OnGetFPS(); |
478 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 478 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
479 const gfx::Rect& window_screen_rect); | 479 const gfx::Rect& window_screen_rect); |
480 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); | 480 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); |
481 void OnShowImeIfNeeded(); | 481 void OnShowImeIfNeeded(); |
482 void OnSetSurfaceClientId(uint32_t surface_id_namespace); | 482 void OnSetSurfaceClientId(uint32_t surface_client_id); |
483 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); | 483 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); |
484 | 484 |
485 #if defined(OS_ANDROID) | 485 #if defined(OS_ANDROID) |
486 // Called when we send IME event that expects an ACK. | 486 // Called when we send IME event that expects an ACK. |
487 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); | 487 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); |
488 | 488 |
489 // Called by the browser process for every required IME acknowledgement. | 489 // Called by the browser process for every required IME acknowledgement. |
490 void OnImeEventAck(); | 490 void OnImeEventAck(); |
491 | 491 |
492 // Called by the browser process to update text input state. | 492 // Called by the browser process to update text input state. |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 // This reference is set by the RenderFrame and is used to query the IME- | 782 // This reference is set by the RenderFrame and is used to query the IME- |
783 // related state from the plugin to later send to the browser. | 783 // related state from the plugin to later send to the browser. |
784 PepperPluginInstanceImpl* focused_pepper_plugin_; | 784 PepperPluginInstanceImpl* focused_pepper_plugin_; |
785 | 785 |
786 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 786 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
787 }; | 787 }; |
788 | 788 |
789 } // namespace content | 789 } // namespace content |
790 | 790 |
791 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 791 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |