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

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

Issue 2077783002: Make limitations for input.ime.sendKeyEvents API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chromeos error. Created 4 years, 5 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 24 matching lines...) Expand all
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()
46 override;
47
45 private: 48 private:
49 std::vector<std::unique_ptr<KeyEvent>> key_events_for_testing_;
46 DISALLOW_COPY_AND_ASSIGN(DummyInputMethod); 50 DISALLOW_COPY_AND_ASSIGN(DummyInputMethod);
47 }; 51 };
48 52
49 } // namespace ui 53 } // namespace ui
50 54
51 #endif // UI_BASE_IME_DUMMY_INPUT_METHOD_H_ 55 #endif // UI_BASE_IME_DUMMY_INPUT_METHOD_H_
OLDNEW
« no previous file with comments | « ui/base/ime/chromeos/mock_ime_input_context_handler.cc ('k') | ui/base/ime/dummy_input_method.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698