| 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 void OnCandidateWindowUpdated(); | 353 void OnCandidateWindowUpdated(); |
| 354 void OnCandidateWindowHidden(); | 354 void OnCandidateWindowHidden(); |
| 355 virtual void OnImeSetComposition( | 355 virtual void OnImeSetComposition( |
| 356 const base::string16& text, | 356 const base::string16& text, |
| 357 const std::vector<blink::WebCompositionUnderline>& underlines, | 357 const std::vector<blink::WebCompositionUnderline>& underlines, |
| 358 int selection_start, | 358 int selection_start, |
| 359 int selection_end); | 359 int selection_end); |
| 360 virtual void OnImeConfirmComposition(const base::string16& text, | 360 virtual void OnImeConfirmComposition(const base::string16& text, |
| 361 const gfx::Range& replacement_range, | 361 const gfx::Range& replacement_range, |
| 362 bool keep_selection); | 362 bool keep_selection); |
| 363 void OnPaintAtSize(const TransportDIB::Handle& dib_id, | |
| 364 int tag, | |
| 365 const gfx::Size& page_size, | |
| 366 const gfx::Size& desired_size); | |
| 367 void OnRepaint(gfx::Size size_to_paint); | 363 void OnRepaint(gfx::Size size_to_paint); |
| 368 void OnSyntheticGestureCompleted(); | 364 void OnSyntheticGestureCompleted(); |
| 369 void OnSetTextDirection(blink::WebTextDirection direction); | 365 void OnSetTextDirection(blink::WebTextDirection direction); |
| 370 void OnGetFPS(); | 366 void OnGetFPS(); |
| 371 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 367 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
| 372 const gfx::Rect& window_screen_rect); | 368 const gfx::Rect& window_screen_rect); |
| 373 #if defined(OS_ANDROID) | 369 #if defined(OS_ANDROID) |
| 374 void OnShowImeIfNeeded(); | 370 void OnShowImeIfNeeded(); |
| 375 | 371 |
| 376 // Whenever an IME event that needs an acknowledgement is sent to the browser, | 372 // Whenever an IME event that needs an acknowledgement is sent to the browser, |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 786 | 782 |
| 787 ui::MenuSourceType context_menu_source_type_; | 783 ui::MenuSourceType context_menu_source_type_; |
| 788 gfx::Point touch_editing_context_menu_location_; | 784 gfx::Point touch_editing_context_menu_location_; |
| 789 | 785 |
| 790 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 786 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 791 }; | 787 }; |
| 792 | 788 |
| 793 } // namespace content | 789 } // namespace content |
| 794 | 790 |
| 795 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 791 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |