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

Side by Side Diff: chrome/browser/chromeos/input_method/mock_input_method_engine.cc

Issue 1282823002: Add text offset to OnSurroundingTextChanged (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/chromeos/input_method/mock_input_method_engine.h" 5 #include "chrome/browser/chromeos/input_method/mock_input_method_engine.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 namespace chromeos { 9 namespace chromeos {
10 10
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 void MockInputMethodEngine::ProcessKeyEvent( 123 void MockInputMethodEngine::ProcessKeyEvent(
124 const ui::KeyEvent& key_event, 124 const ui::KeyEvent& key_event,
125 const KeyEventDoneCallback& callback) { 125 const KeyEventDoneCallback& callback) {
126 } 126 }
127 127
128 void MockInputMethodEngine::CandidateClicked(uint32 index) { 128 void MockInputMethodEngine::CandidateClicked(uint32 index) {
129 } 129 }
130 130
131 void MockInputMethodEngine::SetSurroundingText(const std::string& text, 131 void MockInputMethodEngine::SetSurroundingText(const std::string& text,
132 uint32 cursor_pos, 132 uint32 cursor_pos,
133 uint32 anchor_pos) { 133 uint32 anchor_pos,
134 } 134 uint32 offset_pos) {}
135 135
136 void MockInputMethodEngine::SetCompositionBounds( 136 void MockInputMethodEngine::SetCompositionBounds(
137 const std::vector<gfx::Rect>& bounds) { 137 const std::vector<gfx::Rect>& bounds) {
138 } 138 }
139 139
140 } // namespace chromeos 140 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698