| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 virtual void OnWasSwappedOut(); | 344 virtual void OnWasSwappedOut(); |
| 345 void OnUpdateRectAck(); | 345 void OnUpdateRectAck(); |
| 346 void OnCreateVideoAck(int32 video_id); | 346 void OnCreateVideoAck(int32 video_id); |
| 347 void OnUpdateVideoAck(int32 video_id); | 347 void OnUpdateVideoAck(int32 video_id); |
| 348 void OnRequestMoveAck(); | 348 void OnRequestMoveAck(); |
| 349 void OnSetInputMethodActive(bool is_active); | 349 void OnSetInputMethodActive(bool is_active); |
| 350 void OnCandidateWindowShown(); | 350 void OnCandidateWindowShown(); |
| 351 void OnCandidateWindowUpdated(); | 351 void OnCandidateWindowUpdated(); |
| 352 void OnCandidateWindowHidden(); | 352 void OnCandidateWindowHidden(); |
| 353 virtual void OnImeSetComposition( | 353 virtual void OnImeSetComposition( |
| 354 const string16& text, | 354 const base::string16& text, |
| 355 const std::vector<blink::WebCompositionUnderline>& underlines, | 355 const std::vector<blink::WebCompositionUnderline>& underlines, |
| 356 int selection_start, | 356 int selection_start, |
| 357 int selection_end); | 357 int selection_end); |
| 358 virtual void OnImeConfirmComposition(const string16& text, | 358 virtual void OnImeConfirmComposition(const base::string16& text, |
| 359 const gfx::Range& replacement_range, | 359 const gfx::Range& replacement_range, |
| 360 bool keep_selection); | 360 bool keep_selection); |
| 361 void OnPaintAtSize(const TransportDIB::Handle& dib_id, | 361 void OnPaintAtSize(const TransportDIB::Handle& dib_id, |
| 362 int tag, | 362 int tag, |
| 363 const gfx::Size& page_size, | 363 const gfx::Size& page_size, |
| 364 const gfx::Size& desired_size); | 364 const gfx::Size& desired_size); |
| 365 void OnRepaint(gfx::Size size_to_paint); | 365 void OnRepaint(gfx::Size size_to_paint); |
| 366 void OnSyntheticGestureCompleted(); | 366 void OnSyntheticGestureCompleted(); |
| 367 void OnSetTextDirection(blink::WebTextDirection direction); | 367 void OnSetTextDirection(blink::WebTextDirection direction); |
| 368 void OnGetFPS(); | 368 void OnGetFPS(); |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 float popup_origin_scale_for_emulation_; | 782 float popup_origin_scale_for_emulation_; |
| 783 | 783 |
| 784 scoped_ptr<ResizingModeSelector> resizing_mode_selector_; | 784 scoped_ptr<ResizingModeSelector> resizing_mode_selector_; |
| 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 |