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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 const ui::LatencyInfo& latency_info); | 484 const ui::LatencyInfo& latency_info); |
485 void OnCreateVideoAck(int32_t video_id); | 485 void OnCreateVideoAck(int32_t video_id); |
486 void OnUpdateVideoAck(int32_t video_id); | 486 void OnUpdateVideoAck(int32_t video_id); |
487 void OnRequestMoveAck(); | 487 void OnRequestMoveAck(); |
488 virtual void OnImeSetComposition( | 488 virtual void OnImeSetComposition( |
489 const base::string16& text, | 489 const base::string16& text, |
490 const std::vector<blink::WebCompositionUnderline>& underlines, | 490 const std::vector<blink::WebCompositionUnderline>& underlines, |
491 const gfx::Range& replacement_range, | 491 const gfx::Range& replacement_range, |
492 int selection_start, | 492 int selection_start, |
493 int selection_end); | 493 int selection_end); |
494 virtual void OnImeCommitText(const base::string16& text, | 494 virtual void OnImeCommitText( |
495 const gfx::Range& replacement_range, | 495 const base::string16& text, |
496 int relative_cursor_pos); | 496 const std::vector<blink::WebCompositionUnderline>& underlines, |
| 497 const gfx::Range& replacement_range, |
| 498 int relative_cursor_pos); |
497 virtual void OnImeFinishComposingText(bool keep_selection); | 499 virtual void OnImeFinishComposingText(bool keep_selection); |
498 | 500 |
499 // Called when the device scale factor is changed, or the layer tree is | 501 // Called when the device scale factor is changed, or the layer tree is |
500 // initialized. | 502 // initialized. |
501 virtual void OnDeviceScaleFactorChanged(); | 503 virtual void OnDeviceScaleFactorChanged(); |
502 | 504 |
503 void OnRepaint(gfx::Size size_to_paint); | 505 void OnRepaint(gfx::Size size_to_paint); |
504 void OnSyntheticGestureCompleted(); | 506 void OnSyntheticGestureCompleted(); |
505 void OnSetTextDirection(blink::WebTextDirection direction); | 507 void OnSetTextDirection(blink::WebTextDirection direction); |
506 void OnGetFPS(); | 508 void OnGetFPS(); |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
828 // being handled. If the current event results in starting a drag/drop | 830 // being handled. If the current event results in starting a drag/drop |
829 // session, this info is sent to the browser along with other drag/drop info. | 831 // session, this info is sent to the browser along with other drag/drop info. |
830 DragEventSourceInfo possible_drag_event_info_; | 832 DragEventSourceInfo possible_drag_event_info_; |
831 | 833 |
832 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 834 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
833 }; | 835 }; |
834 | 836 |
835 } // namespace content | 837 } // namespace content |
836 | 838 |
837 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 839 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |