Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Side by Side Diff: content/renderer/render_widget.h

Issue 2445383003: Revert "Simplify handling of text input types in RenderWidget." (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698