| 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 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 707 // being rendered by another process. If all RenderWidgets in a process are | 707 // being rendered by another process. If all RenderWidgets in a process are |
| 708 // swapped out, the process can exit. | 708 // swapped out, the process can exit. |
| 709 bool is_swapped_out_; | 709 bool is_swapped_out_; |
| 710 | 710 |
| 711 // Whether this RenderWidget is for an out-of-process iframe or not. | 711 // Whether this RenderWidget is for an out-of-process iframe or not. |
| 712 bool for_oopif_; | 712 bool for_oopif_; |
| 713 | 713 |
| 714 // Stores information about the current text input. | 714 // Stores information about the current text input. |
| 715 blink::WebTextInputInfo text_input_info_; | 715 blink::WebTextInputInfo text_input_info_; |
| 716 | 716 |
| 717 // Stores the current text input type of |webwidget_|. |
| 718 ui::TextInputType text_input_type_; |
| 719 |
| 717 // Stores the current text input mode of |webwidget_|. | 720 // Stores the current text input mode of |webwidget_|. |
| 718 ui::TextInputMode text_input_mode_; | 721 ui::TextInputMode text_input_mode_; |
| 719 | 722 |
| 720 // Stores the current text input flags of |webwidget_|. | 723 // Stores the current text input flags of |webwidget_|. |
| 721 int text_input_flags_; | 724 int text_input_flags_; |
| 722 | 725 |
| 723 // Stores the current type of composition text rendering of |webwidget_|. | 726 // Stores the current type of composition text rendering of |webwidget_|. |
| 724 bool can_compose_inline_; | 727 bool can_compose_inline_; |
| 725 | 728 |
| 726 // Stores the current selection bounds. | 729 // Stores the current selection bounds. |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 835 // Stores edit commands associated to the next key event. | 838 // Stores edit commands associated to the next key event. |
| 836 // Will be cleared as soon as the next key event is processed. | 839 // Will be cleared as soon as the next key event is processed. |
| 837 EditCommands edit_commands_; | 840 EditCommands edit_commands_; |
| 838 | 841 |
| 839 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 842 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 840 }; | 843 }; |
| 841 | 844 |
| 842 } // namespace content | 845 } // namespace content |
| 843 | 846 |
| 844 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 847 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |