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

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

Issue 2285923002: Simplify handling of text input types in RenderWidget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the glitch. Created 4 years, 3 months 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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
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