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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 virtual void OnImeConfirmComposition(const base::string16& text, | 437 virtual void OnImeConfirmComposition(const base::string16& text, |
438 const gfx::Range& replacement_range, | 438 const gfx::Range& replacement_range, |
439 bool keep_selection); | 439 bool keep_selection); |
440 void OnRepaint(gfx::Size size_to_paint); | 440 void OnRepaint(gfx::Size size_to_paint); |
441 void OnSyntheticGestureCompleted(); | 441 void OnSyntheticGestureCompleted(); |
442 void OnSetTextDirection(blink::WebTextDirection direction); | 442 void OnSetTextDirection(blink::WebTextDirection direction); |
443 void OnGetFPS(); | 443 void OnGetFPS(); |
444 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 444 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
445 const gfx::Rect& window_screen_rect); | 445 const gfx::Rect& window_screen_rect); |
446 void OnShowImeIfNeeded(); | 446 void OnShowImeIfNeeded(); |
| 447 void OnSetSurfaceIdNamespace(uint32_t surface_id_namespace); |
447 | 448 |
448 #if defined(OS_ANDROID) | 449 #if defined(OS_ANDROID) |
449 // Whenever an IME event that needs an acknowledgement is sent to the browser, | 450 // Whenever an IME event that needs an acknowledgement is sent to the browser, |
450 // the number of outstanding IME events that needs acknowledgement should be | 451 // the number of outstanding IME events that needs acknowledgement should be |
451 // incremented. All IME events will be dropped until we receive an ack from | 452 // incremented. All IME events will be dropped until we receive an ack from |
452 // the browser. | 453 // the browser. |
453 void IncrementOutstandingImeEventAcks(); | 454 void IncrementOutstandingImeEventAcks(); |
454 | 455 |
455 // Called by the browser process for every required IME acknowledgement. | 456 // Called by the browser process for every required IME acknowledgement. |
456 void OnImeEventAck(); | 457 void OnImeEventAck(); |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 ui::MenuSourceType context_menu_source_type_; | 812 ui::MenuSourceType context_menu_source_type_; |
812 bool has_host_context_menu_location_; | 813 bool has_host_context_menu_location_; |
813 gfx::Point host_context_menu_location_; | 814 gfx::Point host_context_menu_location_; |
814 | 815 |
815 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 816 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
816 }; | 817 }; |
817 | 818 |
818 } // namespace content | 819 } // namespace content |
819 | 820 |
820 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 821 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |