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

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

Issue 45733008: sk6_charactercomposer: Merged DispatchKeyEvent and its fabricated version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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_delegate.h ('k') | ui/base/ime/fake_input_method.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_delegate.h" 5 #include "ui/base/ime/dummy_input_method_delegate.h"
6 #include "ui/events/event.h"
6 7
7 namespace ui { 8 namespace ui {
8 namespace internal { 9 namespace internal {
9 10
10 DummyInputMethodDelegate::DummyInputMethodDelegate() {} 11 DummyInputMethodDelegate::DummyInputMethodDelegate() {}
11 DummyInputMethodDelegate::~DummyInputMethodDelegate() {} 12 DummyInputMethodDelegate::~DummyInputMethodDelegate() {}
12 13
13 bool DummyInputMethodDelegate::DispatchKeyEventPostIME( 14 bool DummyInputMethodDelegate::DispatchKeyEventPostIME(
14 const base::NativeEvent& native_key_event) { 15 const ui::KeyEvent& key_event) {
15 return true; 16 return true;
16 } 17 }
17 18
18 bool DummyInputMethodDelegate::DispatchFabricatedKeyEventPostIME( 19 bool DummyInputMethodDelegate::DispatchFabricatedKeyEventPostIME(
19 ui::EventType type, 20 ui::EventType type,
20 ui::KeyboardCode key_code, 21 ui::KeyboardCode key_code,
21 int flags) { 22 int flags) {
22 return true; 23 return true;
23 } 24 }
24 25
25 } // namespace internal 26 } // namespace internal
26 } // namespace ui 27 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/dummy_input_method_delegate.h ('k') | ui/base/ime/fake_input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698