| 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 void OnUpdateVideoAck(int32_t video_id); | 462 void OnUpdateVideoAck(int32_t video_id); |
| 463 void OnRequestMoveAck(); | 463 void OnRequestMoveAck(); |
| 464 virtual void OnImeSetComposition( | 464 virtual void OnImeSetComposition( |
| 465 const base::string16& text, | 465 const base::string16& text, |
| 466 const std::vector<blink::WebCompositionUnderline>& underlines, | 466 const std::vector<blink::WebCompositionUnderline>& underlines, |
| 467 const gfx::Range& replacement_range, | 467 const gfx::Range& replacement_range, |
| 468 int selection_start, | 468 int selection_start, |
| 469 int selection_end); | 469 int selection_end); |
| 470 virtual void OnImeConfirmComposition(const base::string16& text, | 470 virtual void OnImeConfirmComposition(const base::string16& text, |
| 471 const gfx::Range& replacement_range, | 471 const gfx::Range& replacement_range, |
| 472 bool keep_selection); | 472 bool keep_selection, |
| 473 int new_cursor_pos); |
| 473 // Called when the device scale factor is changed, or the layer tree is | 474 // Called when the device scale factor is changed, or the layer tree is |
| 474 // initialized. | 475 // initialized. |
| 475 virtual void OnDeviceScaleFactorChanged(); | 476 virtual void OnDeviceScaleFactorChanged(); |
| 476 | 477 |
| 477 void OnRepaint(gfx::Size size_to_paint); | 478 void OnRepaint(gfx::Size size_to_paint); |
| 478 void OnSyntheticGestureCompleted(); | 479 void OnSyntheticGestureCompleted(); |
| 479 void OnSetTextDirection(blink::WebTextDirection direction); | 480 void OnSetTextDirection(blink::WebTextDirection direction); |
| 480 void OnGetFPS(); | 481 void OnGetFPS(); |
| 481 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 482 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
| 482 const gfx::Rect& window_screen_rect); | 483 const gfx::Rect& window_screen_rect); |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 792 // This reference is set by the RenderFrame and is used to query the IME- | 793 // This reference is set by the RenderFrame and is used to query the IME- |
| 793 // related state from the plugin to later send to the browser. | 794 // related state from the plugin to later send to the browser. |
| 794 PepperPluginInstanceImpl* focused_pepper_plugin_; | 795 PepperPluginInstanceImpl* focused_pepper_plugin_; |
| 795 | 796 |
| 796 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 797 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 797 }; | 798 }; |
| 798 | 799 |
| 799 } // namespace content | 800 } // namespace content |
| 800 | 801 |
| 801 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 802 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |