| 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 22 matching lines...) Expand all Loading... |
| 33 void SetCompositionText(const ui::CompositionText& composition) override; | 33 void SetCompositionText(const ui::CompositionText& composition) override; |
| 34 void ConfirmCompositionText() override; | 34 void ConfirmCompositionText() override; |
| 35 void ClearCompositionText() override; | 35 void ClearCompositionText() override; |
| 36 void InsertText(const base::string16& text) override; | 36 void InsertText(const base::string16& text) override; |
| 37 void InsertChar(const ui::KeyEvent& event) override; | 37 void InsertChar(const ui::KeyEvent& event) override; |
| 38 ui::TextInputType GetTextInputType() const override; | 38 ui::TextInputType GetTextInputType() const override; |
| 39 ui::TextInputMode GetTextInputMode() const override; | 39 ui::TextInputMode GetTextInputMode() const override; |
| 40 base::i18n::TextDirection GetTextDirection() const override; | 40 base::i18n::TextDirection GetTextDirection() const override; |
| 41 int GetTextInputFlags() const override; | 41 int GetTextInputFlags() const override; |
| 42 bool CanComposeInline() const override; | 42 bool CanComposeInline() const override; |
| 43 float GetScaleFactor() const override; |
| 43 gfx::Rect GetCaretBounds() const override; | 44 gfx::Rect GetCaretBounds() const override; |
| 44 bool GetCompositionCharacterBounds(uint32_t index, | 45 bool GetCompositionCharacterBounds(uint32_t index, |
| 45 gfx::Rect* rect) const override; | 46 gfx::Rect* rect) const override; |
| 46 bool HasCompositionText() const override; | 47 bool HasCompositionText() const override; |
| 47 bool GetTextRange(gfx::Range* range) const override; | 48 bool GetTextRange(gfx::Range* range) const override; |
| 48 bool GetCompositionTextRange(gfx::Range* range) const override; | 49 bool GetCompositionTextRange(gfx::Range* range) const override; |
| 49 bool GetSelectionRange(gfx::Range* range) const override; | 50 bool GetSelectionRange(gfx::Range* range) const override; |
| 50 bool SetSelectionRange(const gfx::Range& range) override; | 51 bool SetSelectionRange(const gfx::Range& range) override; |
| 51 bool DeleteRange(const gfx::Range& range) override; | 52 bool DeleteRange(const gfx::Range& range) override; |
| 52 bool GetTextFromRange(const gfx::Range& range, | 53 bool GetTextFromRange(const gfx::Range& range, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 78 base::TimeTicks time_of_last_key_; | 79 base::TimeTicks time_of_last_key_; |
| 79 | 80 |
| 80 base::string16 current_text_; | 81 base::string16 current_text_; |
| 81 | 82 |
| 82 DISALLOW_COPY_AND_ASSIGN(PrefixSelector); | 83 DISALLOW_COPY_AND_ASSIGN(PrefixSelector); |
| 83 }; | 84 }; |
| 84 | 85 |
| 85 } // namespace views | 86 } // namespace views |
| 86 | 87 |
| 87 #endif // UI_VIEWS_CONTROLS_PREFIX_SELECTOR_H_ | 88 #endif // UI_VIEWS_CONTROLS_PREFIX_SELECTOR_H_ |
| OLD | NEW |