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 <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 virtual void OnResize(const ViewMsg_Resize_Params& params); | 324 virtual void OnResize(const ViewMsg_Resize_Params& params); |
325 void OnChangeResizeRect(const gfx::Rect& resizer_rect); | 325 void OnChangeResizeRect(const gfx::Rect& resizer_rect); |
326 virtual void OnWasHidden(); | 326 virtual void OnWasHidden(); |
327 virtual void OnWasShown(bool needs_repainting); | 327 virtual void OnWasShown(bool needs_repainting); |
328 virtual void OnWasSwappedOut(); | 328 virtual void OnWasSwappedOut(); |
329 void OnUpdateRectAck(); | 329 void OnUpdateRectAck(); |
330 void OnCreateVideoAck(int32 video_id); | 330 void OnCreateVideoAck(int32 video_id); |
331 void OnUpdateVideoAck(int32 video_id); | 331 void OnUpdateVideoAck(int32 video_id); |
332 void OnRequestMoveAck(); | 332 void OnRequestMoveAck(); |
333 void OnSetInputMethodActive(bool is_active); | 333 void OnSetInputMethodActive(bool is_active); |
| 334 void OnCandidateWindowShown(); |
| 335 void OnCandidateWindowUpdated(); |
| 336 void OnCandidateWindowHidden(); |
334 virtual void OnImeSetComposition( | 337 virtual void OnImeSetComposition( |
335 const string16& text, | 338 const string16& text, |
336 const std::vector<blink::WebCompositionUnderline>& underlines, | 339 const std::vector<blink::WebCompositionUnderline>& underlines, |
337 int selection_start, | 340 int selection_start, |
338 int selection_end); | 341 int selection_end); |
339 virtual void OnImeConfirmComposition(const string16& text, | 342 virtual void OnImeConfirmComposition(const string16& text, |
340 const gfx::Range& replacement_range, | 343 const gfx::Range& replacement_range, |
341 bool keep_selection); | 344 bool keep_selection); |
342 void OnPaintAtSize(const TransportDIB::Handle& dib_id, | 345 void OnPaintAtSize(const TransportDIB::Handle& dib_id, |
343 int tag, | 346 int tag, |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 float popup_origin_scale_for_emulation_; | 779 float popup_origin_scale_for_emulation_; |
777 | 780 |
778 scoped_ptr<ResizingModeSelector> resizing_mode_selector_; | 781 scoped_ptr<ResizingModeSelector> resizing_mode_selector_; |
779 | 782 |
780 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 783 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
781 }; | 784 }; |
782 | 785 |
783 } // namespace content | 786 } // namespace content |
784 | 787 |
785 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 788 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |