| 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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 // being rendered by another process. If all RenderWidgets in a process are | 698 // being rendered by another process. If all RenderWidgets in a process are |
| 699 // swapped out, the process can exit. | 699 // swapped out, the process can exit. |
| 700 bool is_swapped_out_; | 700 bool is_swapped_out_; |
| 701 | 701 |
| 702 // Whether this RenderWidget is for an out-of-process iframe or not. | 702 // Whether this RenderWidget is for an out-of-process iframe or not. |
| 703 bool for_oopif_; | 703 bool for_oopif_; |
| 704 | 704 |
| 705 // Stores information about the current text input. | 705 // Stores information about the current text input. |
| 706 blink::WebTextInputInfo text_input_info_; | 706 blink::WebTextInputInfo text_input_info_; |
| 707 | 707 |
| 708 // Stores the current text input type of |webwidget_|. |
| 709 ui::TextInputType text_input_type_; |
| 710 |
| 708 // Stores the current text input mode of |webwidget_|. | 711 // Stores the current text input mode of |webwidget_|. |
| 709 ui::TextInputMode text_input_mode_; | 712 ui::TextInputMode text_input_mode_; |
| 710 | 713 |
| 711 // Stores the current text input flags of |webwidget_|. | 714 // Stores the current text input flags of |webwidget_|. |
| 712 int text_input_flags_; | 715 int text_input_flags_; |
| 713 | 716 |
| 714 // Stores the current type of composition text rendering of |webwidget_|. | 717 // Stores the current type of composition text rendering of |webwidget_|. |
| 715 bool can_compose_inline_; | 718 bool can_compose_inline_; |
| 716 | 719 |
| 717 // Stores the current selection bounds. | 720 // Stores the current selection bounds. |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 826 // Stores edit commands associated to the next key event. | 829 // Stores edit commands associated to the next key event. |
| 827 // Will be cleared as soon as the next key event is processed. | 830 // Will be cleared as soon as the next key event is processed. |
| 828 EditCommands edit_commands_; | 831 EditCommands edit_commands_; |
| 829 | 832 |
| 830 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 833 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 831 }; | 834 }; |
| 832 | 835 |
| 833 } // namespace content | 836 } // namespace content |
| 834 | 837 |
| 835 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 838 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |