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

Side by Side Diff: chromeos/dbus/ibus/mock_ibus_engine_service.cc

Issue 10968056: Fix crash bug of IME extension API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix nits Created 8 years, 2 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 | « chromeos/dbus/ibus/mock_ibus_engine_service.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chromeos/dbus/ibus/mock_ibus_engine_service.h" 5 #include "chromeos/dbus/ibus/mock_ibus_engine_service.h"
6 6
7 namespace chromeos { 7 namespace chromeos {
8 8
9 MockIBusEngineService::MockIBusEngineService() { 9 MockIBusEngineService::MockIBusEngineService() {
10 } 10 }
11 11
12 MockIBusEngineService::~MockIBusEngineService() { 12 MockIBusEngineService::~MockIBusEngineService() {
13 } 13 }
14 14
15 void MockIBusEngineService::Initialize(IBusEngineHandlerInterface* handler) { 15 void MockIBusEngineService::SetEngine(IBusEngineHandlerInterface* handler) {
16 }
17
18 void MockIBusEngineService::UnsetEngine() {
16 } 19 }
17 20
18 void MockIBusEngineService::RegisterProperties( 21 void MockIBusEngineService::RegisterProperties(
19 const ibus::IBusPropertyList& property_list) { 22 const ibus::IBusPropertyList& property_list) {
20 } 23 }
21 24
22 void MockIBusEngineService::UpdatePreedit(const ibus::IBusText& ibus_text, 25 void MockIBusEngineService::UpdatePreedit(const ibus::IBusText& ibus_text,
23 uint32 cursor_pos, 26 uint32 cursor_pos,
24 bool is_visible, 27 bool is_visible,
25 IBusEnginePreeditFocusOutMode mode) { 28 IBusEnginePreeditFocusOutMode mode) {
(...skipping 13 matching lines...) Expand all
39 42
40 void MockIBusEngineService::ForwardKeyEvent(uint32 keyval, 43 void MockIBusEngineService::ForwardKeyEvent(uint32 keyval,
41 uint32 keycode, 44 uint32 keycode,
42 uint32 state) { 45 uint32 state) {
43 } 46 }
44 47
45 void MockIBusEngineService::RequireSurroundingText() { 48 void MockIBusEngineService::RequireSurroundingText() {
46 } 49 }
47 50
48 } // namespace chromeos 51 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/ibus/mock_ibus_engine_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698