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

Side by Side Diff: ui/views/ime/input_method_bridge.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
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 UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ 5 #ifndef UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_
6 #define UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ 6 #define UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 // Overridden from TextInputClient: 52 // Overridden from TextInputClient:
53 virtual void SetCompositionText( 53 virtual void SetCompositionText(
54 const ui::CompositionText& composition) OVERRIDE; 54 const ui::CompositionText& composition) OVERRIDE;
55 virtual void ConfirmCompositionText() OVERRIDE; 55 virtual void ConfirmCompositionText() OVERRIDE;
56 virtual void ClearCompositionText() OVERRIDE; 56 virtual void ClearCompositionText() OVERRIDE;
57 virtual void InsertText(const string16& text) OVERRIDE; 57 virtual void InsertText(const string16& text) OVERRIDE;
58 virtual void InsertChar(char16 ch, int flags) OVERRIDE; 58 virtual void InsertChar(char16 ch, int flags) OVERRIDE;
59 virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE; 59 virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE;
60 virtual ui::TextInputType GetTextInputType() const OVERRIDE; 60 virtual ui::TextInputType GetTextInputType() const OVERRIDE;
61 virtual ui::TextInputMode GetTextInputMode() const OVERRIDE;
61 virtual bool CanComposeInline() const OVERRIDE; 62 virtual bool CanComposeInline() const OVERRIDE;
62 virtual gfx::Rect GetCaretBounds() OVERRIDE; 63 virtual gfx::Rect GetCaretBounds() OVERRIDE;
63 virtual bool GetCompositionCharacterBounds(uint32 index, 64 virtual bool GetCompositionCharacterBounds(uint32 index,
64 gfx::Rect* rect) OVERRIDE; 65 gfx::Rect* rect) OVERRIDE;
65 virtual bool HasCompositionText() OVERRIDE; 66 virtual bool HasCompositionText() OVERRIDE;
66 virtual bool GetTextRange(ui::Range* range) OVERRIDE; 67 virtual bool GetTextRange(ui::Range* range) OVERRIDE;
67 virtual bool GetCompositionTextRange(ui::Range* range) OVERRIDE; 68 virtual bool GetCompositionTextRange(ui::Range* range) OVERRIDE;
68 virtual bool GetSelectionRange(ui::Range* range) OVERRIDE; 69 virtual bool GetSelectionRange(ui::Range* range) OVERRIDE;
69 virtual bool SetSelectionRange(const ui::Range& range) OVERRIDE; 70 virtual bool SetSelectionRange(const ui::Range& range) OVERRIDE;
70 virtual bool DeleteRange(const ui::Range& range) OVERRIDE; 71 virtual bool DeleteRange(const ui::Range& range) OVERRIDE;
(...skipping 19 matching lines...) Expand all
90 const bool shared_input_method_; 91 const bool shared_input_method_;
91 92
92 bool context_focused_; 93 bool context_focused_;
93 94
94 DISALLOW_COPY_AND_ASSIGN(InputMethodBridge); 95 DISALLOW_COPY_AND_ASSIGN(InputMethodBridge);
95 }; 96 };
96 97
97 } // namespace views 98 } // namespace views
98 99
99 #endif // UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ 100 #endif // UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_
OLDNEW
« no previous file with comments | « ui/views/controls/textfield/native_textfield_views.cc ('k') | ui/views/ime/input_method_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698