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

Side by Side Diff: ui/views/controls/prefix_selector.h

Issue 22401002: Add GetTextInputMode function to TextInputClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reorder declaration Created 7 years, 4 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 | « ui/keyboard/keyboard_controller_unittest.cc ('k') | ui/views/controls/prefix_selector.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 UI_VIEWS_CONTROLS_PREFIX_SELECTOR_H_ 5 #ifndef UI_VIEWS_CONTROLS_PREFIX_SELECTOR_H_
6 #define UI_VIEWS_CONTROLS_PREFIX_SELECTOR_H_ 6 #define UI_VIEWS_CONTROLS_PREFIX_SELECTOR_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "ui/base/ime/text_input_client.h" 10 #include "ui/base/ime/text_input_client.h"
(...skipping 15 matching lines...) Expand all
26 26
27 // ui::TextInputClient: 27 // ui::TextInputClient:
28 virtual void SetCompositionText( 28 virtual void SetCompositionText(
29 const ui::CompositionText& composition) OVERRIDE; 29 const ui::CompositionText& composition) OVERRIDE;
30 virtual void ConfirmCompositionText() OVERRIDE; 30 virtual void ConfirmCompositionText() OVERRIDE;
31 virtual void ClearCompositionText() OVERRIDE; 31 virtual void ClearCompositionText() OVERRIDE;
32 virtual void InsertText(const string16& text) OVERRIDE; 32 virtual void InsertText(const string16& text) OVERRIDE;
33 virtual void InsertChar(char16 ch, int flags) OVERRIDE; 33 virtual void InsertChar(char16 ch, int flags) OVERRIDE;
34 virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE; 34 virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE;
35 virtual ui::TextInputType GetTextInputType() const OVERRIDE; 35 virtual ui::TextInputType GetTextInputType() const OVERRIDE;
36 virtual ui::TextInputMode GetTextInputMode() const OVERRIDE;
36 virtual bool CanComposeInline() const OVERRIDE; 37 virtual bool CanComposeInline() const OVERRIDE;
37 virtual gfx::Rect GetCaretBounds() OVERRIDE; 38 virtual gfx::Rect GetCaretBounds() OVERRIDE;
38 virtual bool GetCompositionCharacterBounds(uint32 index, 39 virtual bool GetCompositionCharacterBounds(uint32 index,
39 gfx::Rect* rect) OVERRIDE; 40 gfx::Rect* rect) OVERRIDE;
40 virtual bool HasCompositionText() OVERRIDE; 41 virtual bool HasCompositionText() OVERRIDE;
41 virtual bool GetTextRange(ui::Range* range) OVERRIDE; 42 virtual bool GetTextRange(ui::Range* range) OVERRIDE;
42 virtual bool GetCompositionTextRange(ui::Range* range) OVERRIDE; 43 virtual bool GetCompositionTextRange(ui::Range* range) OVERRIDE;
43 virtual bool GetSelectionRange(ui::Range* range) OVERRIDE; 44 virtual bool GetSelectionRange(ui::Range* range) OVERRIDE;
44 virtual bool SetSelectionRange(const ui::Range& range) OVERRIDE; 45 virtual bool SetSelectionRange(const ui::Range& range) OVERRIDE;
45 virtual bool DeleteRange(const ui::Range& range) OVERRIDE; 46 virtual bool DeleteRange(const ui::Range& range) OVERRIDE;
(...skipping 21 matching lines...) Expand all
67 base::TimeTicks time_of_last_key_; 68 base::TimeTicks time_of_last_key_;
68 69
69 string16 current_text_; 70 string16 current_text_;
70 71
71 DISALLOW_COPY_AND_ASSIGN(PrefixSelector); 72 DISALLOW_COPY_AND_ASSIGN(PrefixSelector);
72 }; 73 };
73 74
74 } // namespace views 75 } // namespace views
75 76
76 #endif // UI_VIEWS_CONTROLS_PREFIX_SELECTOR_H_ 77 #endif // UI_VIEWS_CONTROLS_PREFIX_SELECTOR_H_
OLDNEW
« no previous file with comments | « ui/keyboard/keyboard_controller_unittest.cc ('k') | ui/views/controls/prefix_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698