| Index: ui/base/ime/mock_ime_input_context_handler.cc
|
| diff --git a/ui/base/ime/chromeos/mock_ime_input_context_handler.cc b/ui/base/ime/mock_ime_input_context_handler.cc
|
| similarity index 83%
|
| rename from ui/base/ime/chromeos/mock_ime_input_context_handler.cc
|
| rename to ui/base/ime/mock_ime_input_context_handler.cc
|
| index e4decfde3550b98d93fc15e42ba34f0ba0e154f7..1d1e8c7649a58b5bcadb54e20a4c95621c74fdb1 100644
|
| --- a/ui/base/ime/chromeos/mock_ime_input_context_handler.cc
|
| +++ b/ui/base/ime/mock_ime_input_context_handler.cc
|
| @@ -2,20 +2,18 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "ui/base/ime/chromeos/mock_ime_input_context_handler.h"
|
| +#include "ui/base/ime/mock_ime_input_context_handler.h"
|
|
|
| #include "ui/base/ime/composition_text.h"
|
|
|
| -namespace chromeos {
|
| +namespace ui {
|
|
|
| MockIMEInputContextHandler::MockIMEInputContextHandler()
|
| : commit_text_call_count_(0),
|
| update_preedit_text_call_count_(0),
|
| - delete_surrounding_text_call_count_(0) {
|
| -}
|
| + delete_surrounding_text_call_count_(0) {}
|
|
|
| -MockIMEInputContextHandler::~MockIMEInputContextHandler() {
|
| -}
|
| +MockIMEInputContextHandler::~MockIMEInputContextHandler() {}
|
|
|
| void MockIMEInputContextHandler::CommitText(const std::string& text) {
|
| ++commit_text_call_count_;
|
| @@ -23,7 +21,7 @@ void MockIMEInputContextHandler::CommitText(const std::string& text) {
|
| }
|
|
|
| void MockIMEInputContextHandler::UpdateCompositionText(
|
| - const ui::CompositionText& text,
|
| + const CompositionText& text,
|
| uint32_t cursor_pos,
|
| bool visible) {
|
| ++update_preedit_text_call_count_;
|
| @@ -46,4 +44,4 @@ void MockIMEInputContextHandler::Reset() {
|
| last_commit_text_.clear();
|
| }
|
|
|
| -} // namespace chromeos
|
| +} // namespace ui
|
|
|