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

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

Issue 2024003002: Add GetTextDirection to ui::TextInputClient API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/base/ime/text_input_client.h ('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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 18 matching lines...) Expand all
29 void OnViewBlur(); 29 void OnViewBlur();
30 30
31 // ui::TextInputClient: 31 // ui::TextInputClient:
32 void SetCompositionText(const ui::CompositionText& composition) override; 32 void SetCompositionText(const ui::CompositionText& composition) override;
33 void ConfirmCompositionText() override; 33 void ConfirmCompositionText() override;
34 void ClearCompositionText() override; 34 void ClearCompositionText() override;
35 void InsertText(const base::string16& text) override; 35 void InsertText(const base::string16& text) override;
36 void InsertChar(const ui::KeyEvent& event) override; 36 void InsertChar(const ui::KeyEvent& event) override;
37 ui::TextInputType GetTextInputType() const override; 37 ui::TextInputType GetTextInputType() const override;
38 ui::TextInputMode GetTextInputMode() const override; 38 ui::TextInputMode GetTextInputMode() const override;
39 base::i18n::TextDirection GetTextDirection() const override;
39 int GetTextInputFlags() const override; 40 int GetTextInputFlags() const override;
40 bool CanComposeInline() const override; 41 bool CanComposeInline() const override;
41 gfx::Rect GetCaretBounds() const override; 42 gfx::Rect GetCaretBounds() const override;
42 bool GetCompositionCharacterBounds(uint32_t index, 43 bool GetCompositionCharacterBounds(uint32_t index,
43 gfx::Rect* rect) const override; 44 gfx::Rect* rect) const override;
44 bool HasCompositionText() const override; 45 bool HasCompositionText() const override;
45 bool GetTextRange(gfx::Range* range) const override; 46 bool GetTextRange(gfx::Range* range) const override;
46 bool GetCompositionTextRange(gfx::Range* range) const override; 47 bool GetCompositionTextRange(gfx::Range* range) const override;
47 bool GetSelectionRange(gfx::Range* range) const override; 48 bool GetSelectionRange(gfx::Range* range) const override;
48 bool SetSelectionRange(const gfx::Range& range) override; 49 bool SetSelectionRange(const gfx::Range& range) override;
(...skipping 25 matching lines...) Expand all
74 base::TimeTicks time_of_last_key_; 75 base::TimeTicks time_of_last_key_;
75 76
76 base::string16 current_text_; 77 base::string16 current_text_;
77 78
78 DISALLOW_COPY_AND_ASSIGN(PrefixSelector); 79 DISALLOW_COPY_AND_ASSIGN(PrefixSelector);
79 }; 80 };
80 81
81 } // namespace views 82 } // namespace views
82 83
83 #endif // UI_VIEWS_CONTROLS_PREFIX_SELECTOR_H_ 84 #endif // UI_VIEWS_CONTROLS_PREFIX_SELECTOR_H_
OLDNEW
« no previous file with comments | « ui/base/ime/text_input_client.h ('k') | ui/views/controls/prefix_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698