| 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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 675 // being rendered by another process. If all RenderWidgets in a process are | 675 // being rendered by another process. If all RenderWidgets in a process are |
| 676 // swapped out, the process can exit. | 676 // swapped out, the process can exit. |
| 677 bool is_swapped_out_; | 677 bool is_swapped_out_; |
| 678 | 678 |
| 679 // Whether this RenderWidget is for an out-of-process iframe or not. | 679 // Whether this RenderWidget is for an out-of-process iframe or not. |
| 680 bool for_oopif_; | 680 bool for_oopif_; |
| 681 | 681 |
| 682 // Stores information about the current text input. | 682 // Stores information about the current text input. |
| 683 blink::WebTextInputInfo text_input_info_; | 683 blink::WebTextInputInfo text_input_info_; |
| 684 | 684 |
| 685 // Stores the current text input type of |webwidget_|. | |
| 686 ui::TextInputType text_input_type_; | |
| 687 | |
| 688 // Stores the current text input mode of |webwidget_|. | 685 // Stores the current text input mode of |webwidget_|. |
| 689 ui::TextInputMode text_input_mode_; | 686 ui::TextInputMode text_input_mode_; |
| 690 | 687 |
| 691 // Stores the current text input flags of |webwidget_|. | 688 // Stores the current text input flags of |webwidget_|. |
| 692 int text_input_flags_; | 689 int text_input_flags_; |
| 693 | 690 |
| 694 // Stores the current type of composition text rendering of |webwidget_|. | 691 // Stores the current type of composition text rendering of |webwidget_|. |
| 695 bool can_compose_inline_; | 692 bool can_compose_inline_; |
| 696 | 693 |
| 697 // Stores the current selection bounds. | 694 // Stores the current selection bounds. |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 794 // This reference is set by the RenderFrame and is used to query the IME- | 791 // This reference is set by the RenderFrame and is used to query the IME- |
| 795 // related state from the plugin to later send to the browser. | 792 // related state from the plugin to later send to the browser. |
| 796 PepperPluginInstanceImpl* focused_pepper_plugin_; | 793 PepperPluginInstanceImpl* focused_pepper_plugin_; |
| 797 | 794 |
| 798 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 795 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 799 }; | 796 }; |
| 800 | 797 |
| 801 } // namespace content | 798 } // namespace content |
| 802 | 799 |
| 803 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 800 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |