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

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

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
« no previous file with comments | « ui/base/ime/dummy_input_method.h ('k') | ui/base/ime/ime_input_context_handler_interface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "ui/base/ime/dummy_input_method.h" 5 #include "ui/base/ime/dummy_input_method.h"
6 #include "ui/events/event.h"
6 7
7 namespace ui { 8 namespace ui {
8 9
9 DummyInputMethod::DummyInputMethod() { 10 DummyInputMethod::DummyInputMethod() {
10 } 11 }
11 12
12 DummyInputMethod::~DummyInputMethod() { 13 DummyInputMethod::~DummyInputMethod() {
13 } 14 }
14 15
15 void DummyInputMethod::SetDelegate(internal::InputMethodDelegate* delegate) { 16 void DummyInputMethod::SetDelegate(internal::InputMethodDelegate* delegate) {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 78
78 void DummyInputMethod::ShowImeIfNeeded() { 79 void DummyInputMethod::ShowImeIfNeeded() {
79 } 80 }
80 81
81 void DummyInputMethod::AddObserver(InputMethodObserver* observer) { 82 void DummyInputMethod::AddObserver(InputMethodObserver* observer) {
82 } 83 }
83 84
84 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { 85 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) {
85 } 86 }
86 87
88 const std::vector<std::unique_ptr<KeyEvent>>&
89 DummyInputMethod::GetKeyEventsForTesting() {
90 return key_events_for_testing_;
91 }
92
87 } // namespace ui 93 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/dummy_input_method.h ('k') | ui/base/ime/ime_input_context_handler_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698