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

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

Issue 10825154: Extends IBusContextClient to handle SetSurroundingText. (Closed) Base URL: http://git.chromium.org/chromium/src.git@surrounding_support
Patch Set: Address comments Created 8 years, 4 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_input_context_client.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 <string>
5 #include "chromeos/dbus/ibus/mock_ibus_input_context_client.h" 6 #include "chromeos/dbus/ibus/mock_ibus_input_context_client.h"
6 7
7 namespace chromeos { 8 namespace chromeos {
8 9
9 MockIBusInputContextClient::MockIBusInputContextClient() 10 MockIBusInputContextClient::MockIBusInputContextClient()
10 : initialize_call_count_(0), 11 : initialize_call_count_(0),
11 is_initialized_(false), 12 is_initialized_(false),
12 reset_object_proxy_call_caount_(0), 13 reset_object_proxy_call_caount_(0),
13 set_capabilities_call_count_(0), 14 set_capabilities_call_count_(0),
14 focus_in_call_count_(0), 15 focus_in_call_count_(0),
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 97
97 void MockIBusInputContextClient::ProcessKeyEvent( 98 void MockIBusInputContextClient::ProcessKeyEvent(
98 uint32 keyval, 99 uint32 keyval,
99 uint32 keycode, 100 uint32 keycode,
100 uint32 state, 101 uint32 state,
101 const ProcessKeyEventCallback& callback, 102 const ProcessKeyEventCallback& callback,
102 const ErrorCallback& error_callback) { 103 const ErrorCallback& error_callback) {
103 process_key_event_call_count_++; 104 process_key_event_call_count_++;
104 } 105 }
105 106
107 void MockIBusInputContextClient::SetSurroundingText(
108 const std::string& text,
109 uint32 cursor_pos,
110 uint32 anchor_pos) {
111 }
112
106 } // namespace chromeos 113 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/ibus/mock_ibus_input_context_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698