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

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

Issue 2298123003: Using input language instead of the application locale to determine the Omnibox's text input type o… (Closed)
Patch Set: fix compiling errors in mus. Created 4 years, 3 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_INPUT_METHOD_H_ 5 #ifndef UI_BASE_IME_DUMMY_INPUT_METHOD_H_
6 #define UI_BASE_IME_DUMMY_INPUT_METHOD_H_ 6 #define UI_BASE_IME_DUMMY_INPUT_METHOD_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/base/ime/input_method.h" 9 #include "ui/base/ime/input_method.h"
10 10
(...skipping 13 matching lines...) Expand all
24 bool OnUntranslatedIMEMessage(const base::NativeEvent& event, 24 bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
25 NativeEventResult* result) override; 25 NativeEventResult* result) override;
26 void SetFocusedTextInputClient(TextInputClient* client) override; 26 void SetFocusedTextInputClient(TextInputClient* client) override;
27 void DetachTextInputClient(TextInputClient* client) override; 27 void DetachTextInputClient(TextInputClient* client) override;
28 TextInputClient* GetTextInputClient() const override; 28 TextInputClient* GetTextInputClient() const override;
29 void DispatchKeyEvent(ui::KeyEvent* event) override; 29 void DispatchKeyEvent(ui::KeyEvent* event) override;
30 void OnTextInputTypeChanged(const TextInputClient* client) override; 30 void OnTextInputTypeChanged(const TextInputClient* client) override;
31 void OnCaretBoundsChanged(const TextInputClient* client) override; 31 void OnCaretBoundsChanged(const TextInputClient* client) override;
32 void CancelComposition(const TextInputClient* client) override; 32 void CancelComposition(const TextInputClient* client) override;
33 void OnInputLocaleChanged() override; 33 void OnInputLocaleChanged() override;
34 std::string GetInputLocale() override; 34 bool IsInputLocaleCJK() const override;
35 TextInputType GetTextInputType() const override; 35 TextInputType GetTextInputType() const override;
36 TextInputMode GetTextInputMode() const override; 36 TextInputMode GetTextInputMode() const override;
37 int GetTextInputFlags() const override; 37 int GetTextInputFlags() const override;
38 bool CanComposeInline() const override; 38 bool CanComposeInline() const override;
39 bool IsCandidatePopupOpen() const override; 39 bool IsCandidatePopupOpen() const override;
40 void ShowImeIfNeeded() override; 40 void ShowImeIfNeeded() override;
41 41
42 void AddObserver(InputMethodObserver* observer) override; 42 void AddObserver(InputMethodObserver* observer) override;
43 void RemoveObserver(InputMethodObserver* observer) override; 43 void RemoveObserver(InputMethodObserver* observer) override;
44 44
45 const std::vector<std::unique_ptr<KeyEvent>>& GetKeyEventsForTesting() 45 const std::vector<std::unique_ptr<KeyEvent>>& GetKeyEventsForTesting()
46 override; 46 override;
47 47
48 private: 48 private:
49 std::vector<std::unique_ptr<KeyEvent>> key_events_for_testing_; 49 std::vector<std::unique_ptr<KeyEvent>> key_events_for_testing_;
50 DISALLOW_COPY_AND_ASSIGN(DummyInputMethod); 50 DISALLOW_COPY_AND_ASSIGN(DummyInputMethod);
51 }; 51 };
52 52
53 } // namespace ui 53 } // namespace ui
54 54
55 #endif // UI_BASE_IME_DUMMY_INPUT_METHOD_H_ 55 #endif // UI_BASE_IME_DUMMY_INPUT_METHOD_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | ui/base/ime/dummy_input_method.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698