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

Side by Side Diff: ui/base/ime/dummy_text_input_client.h

Issue 2593323002: Use the physical-pixel space for native IME on linux platform. (Closed)
Patch Set: Created 3 years, 12 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 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_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ 5 #ifndef UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_
6 #define UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ 6 #define UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 13 matching lines...) Expand all
24 void SetCompositionText(const CompositionText& composition) override; 24 void SetCompositionText(const CompositionText& composition) override;
25 void ConfirmCompositionText() override; 25 void ConfirmCompositionText() override;
26 void ClearCompositionText() override; 26 void ClearCompositionText() override;
27 void InsertText(const base::string16& text) override; 27 void InsertText(const base::string16& text) override;
28 void InsertChar(const KeyEvent& event) override; 28 void InsertChar(const KeyEvent& event) override;
29 TextInputType GetTextInputType() const override; 29 TextInputType GetTextInputType() const override;
30 TextInputMode GetTextInputMode() const override; 30 TextInputMode GetTextInputMode() const override;
31 base::i18n::TextDirection GetTextDirection() const override; 31 base::i18n::TextDirection GetTextDirection() const override;
32 int GetTextInputFlags() const override; 32 int GetTextInputFlags() const override;
33 bool CanComposeInline() const override; 33 bool CanComposeInline() const override;
34 float GetScaleFactor() const override;
34 gfx::Rect GetCaretBounds() const override; 35 gfx::Rect GetCaretBounds() const override;
35 bool GetCompositionCharacterBounds(uint32_t index, 36 bool GetCompositionCharacterBounds(uint32_t index,
36 gfx::Rect* rect) const override; 37 gfx::Rect* rect) const override;
37 bool HasCompositionText() const override; 38 bool HasCompositionText() const override;
38 bool GetTextRange(gfx::Range* range) const override; 39 bool GetTextRange(gfx::Range* range) const override;
39 bool GetCompositionTextRange(gfx::Range* range) const override; 40 bool GetCompositionTextRange(gfx::Range* range) const override;
40 bool GetSelectionRange(gfx::Range* range) const override; 41 bool GetSelectionRange(gfx::Range* range) const override;
41 bool SetSelectionRange(const gfx::Range& range) override; 42 bool SetSelectionRange(const gfx::Range& range) override;
42 bool DeleteRange(const gfx::Range& range) override; 43 bool DeleteRange(const gfx::Range& range) override;
43 bool GetTextFromRange(const gfx::Range& range, 44 bool GetTextFromRange(const gfx::Range& range,
(...skipping 22 matching lines...) Expand all
66 int insert_text_count_; 67 int insert_text_count_;
67 int set_composition_count_; 68 int set_composition_count_;
68 base::char16 last_insert_char_; 69 base::char16 last_insert_char_;
69 base::string16 last_insert_text_; 70 base::string16 last_insert_text_;
70 CompositionText last_composition_; 71 CompositionText last_composition_;
71 }; 72 };
72 73
73 } // namespace ui 74 } // namespace ui
74 75
75 #endif // UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ 76 #endif // UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698