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

Side by Side Diff: chromeos/ime/mock_ime_input_context_handler.h

Issue 61003004: Delete ibus_object and move ibus_text to chromeos/ime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modified based on the review. Created 7 years, 1 month 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/ime/ibus_text_unittest.cc ('k') | chromeos/ime/mock_ime_input_context_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef CHROMEOS_IME_MOCK_IME_INPUT_CONTEXT_HANDLER_H_ 5 #ifndef CHROMEOS_IME_MOCK_IME_INPUT_CONTEXT_HANDLER_H_
6 #define CHROMEOS_IME_MOCK_IME_INPUT_CONTEXT_HANDLER_H_ 6 #define CHROMEOS_IME_MOCK_IME_INPUT_CONTEXT_HANDLER_H_
7 7
8 #include "chromeos/dbus/ibus/ibus_text.h"
9 #include "chromeos/ime/ibus_bridge.h" 8 #include "chromeos/ime/ibus_bridge.h"
9 #include "chromeos/ime/ibus_text.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 12
13 class CHROMEOS_EXPORT MockIMEInputContextHandler 13 class CHROMEOS_EXPORT MockIMEInputContextHandler
14 : public IBusInputContextHandlerInterface { 14 : public IBusInputContextHandlerInterface {
15 public: 15 public:
16 struct UpdatePreeditTextArg { 16 struct UpdatePreeditTextArg {
17 IBusText ibus_text; 17 IBusText ibus_text;
18 uint32 cursor_pos; 18 uint32 cursor_pos;
19 bool is_visible; 19 bool is_visible;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 int hide_preedit_text_call_count_; 81 int hide_preedit_text_call_count_;
82 int delete_surrounding_text_call_count_; 82 int delete_surrounding_text_call_count_;
83 std::string last_commit_text_; 83 std::string last_commit_text_;
84 UpdatePreeditTextArg last_update_preedit_arg_; 84 UpdatePreeditTextArg last_update_preedit_arg_;
85 DeleteSurroundingTextArg last_delete_surrounding_text_arg_; 85 DeleteSurroundingTextArg last_delete_surrounding_text_arg_;
86 }; 86 };
87 87
88 } // namespace chromeos 88 } // namespace chromeos
89 89
90 #endif // CHROMEOS_IME_MOCK_IME_INPUT_CONTEXT_HANDLER_H_ 90 #endif // CHROMEOS_IME_MOCK_IME_INPUT_CONTEXT_HANDLER_H_
OLDNEW
« no previous file with comments | « chromeos/ime/ibus_text_unittest.cc ('k') | chromeos/ime/mock_ime_input_context_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698