| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |