| OLD | NEW |
| 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/chromeos/mock_ime_engine_handler.h" | 5 #include "ui/base/ime/chromeos/mock_ime_engine_handler.h" |
| 6 #include "ui/base/ime/text_input_flags.h" | 6 #include "ui/base/ime/text_input_flags.h" |
| 7 | 7 |
| 8 namespace chromeos { | 8 namespace chromeos { |
| 9 | 9 |
| 10 MockIMEEngineHandler::MockIMEEngineHandler() | 10 MockIMEEngineHandler::MockIMEEngineHandler() |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 void MockIMEEngineHandler::SetSurroundingText(const std::string& text, | 63 void MockIMEEngineHandler::SetSurroundingText(const std::string& text, |
| 64 uint32 cursor_pos, | 64 uint32 cursor_pos, |
| 65 uint32 anchor_pos) { | 65 uint32 anchor_pos) { |
| 66 ++set_surrounding_text_call_count_; | 66 ++set_surrounding_text_call_count_; |
| 67 last_set_surrounding_text_ = text; | 67 last_set_surrounding_text_ = text; |
| 68 last_set_surrounding_cursor_pos_ = cursor_pos; | 68 last_set_surrounding_cursor_pos_ = cursor_pos; |
| 69 last_set_surrounding_anchor_pos_ = anchor_pos; | 69 last_set_surrounding_anchor_pos_ = anchor_pos; |
| 70 } | 70 } |
| 71 | 71 |
| 72 void MockIMEEngineHandler::SetCompositionBounds(const gfx::Rect& bounds) { |
| 73 } |
| 74 |
| 72 } // namespace chromeos | 75 } // namespace chromeos |
| OLD | NEW |