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

Side by Side Diff: chrome/browser/chromeos/input_method/input_method_engine_ibus.h

Issue 50243005: ChromeOS: Remove unused IBus classes from chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_IBUS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_IBUS_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_IBUS_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_IBUS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 #include "chrome/browser/chromeos/input_method/input_method_engine.h" 11 #include "chrome/browser/chromeos/input_method/input_method_engine.h"
12 #include "chromeos/dbus/ibus/ibus_engine_factory_service.h" 12 #include "chromeos/dbus/ibus/ibus_engine_factory_service.h"
13 #include "chromeos/dbus/ibus/ibus_engine_service.h" 13 #include "chromeos/dbus/ibus/ibus_engine_service.h"
14 #include "chromeos/ime/ibus_bridge.h" 14 #include "chromeos/ime/ibus_bridge.h"
15 #include "dbus/object_path.h" 15 #include "dbus/object_path.h"
16 16
17 namespace chromeos { 17 namespace chromeos {
18 18
19 class IBusComponent; 19 class IBusComponent;
20 class IBusText; 20 class IBusText;
21 21
22 class IBusEngineFactoryService;
22 class IBusEngineService; 23 class IBusEngineService;
24
23 namespace input_method { 25 namespace input_method {
24 class CandidateWindow; 26 class CandidateWindow;
25 struct KeyEventHandle; 27 struct KeyEventHandle;
26 } // namespace input_method 28 } // namespace input_method
27 29
28 class InputMethodEngineIBus : public InputMethodEngine, 30 class InputMethodEngineIBus : public InputMethodEngine,
29 public IBusEngineHandlerInterface { 31 public IBusEngineHandlerInterface {
30 public: 32 public:
31 InputMethodEngineIBus(); 33 InputMethodEngineIBus();
32 34
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 172
171 // Indicates whether the candidate window is visible. 173 // Indicates whether the candidate window is visible.
172 bool window_visible_; 174 bool window_visible_;
173 175
174 // Mapping of candidate index to candidate id. 176 // Mapping of candidate index to candidate id.
175 std::vector<int> candidate_ids_; 177 std::vector<int> candidate_ids_;
176 178
177 // Mapping of candidate id to index. 179 // Mapping of candidate id to index.
178 std::map<int, int> candidate_indexes_; 180 std::map<int, int> candidate_indexes_;
179 181
182 scoped_ptr<IBusEngineService> ibus_engine_service_;
183 scoped_ptr<IBusEngineFactoryService> ibus_engine_factory_service_;
184
180 // Used for making callbacks. 185 // Used for making callbacks.
181 base::WeakPtrFactory<InputMethodEngineIBus> weak_ptr_factory_; 186 base::WeakPtrFactory<InputMethodEngineIBus> weak_ptr_factory_;
182 }; 187 };
183 188
184 } // namespace chromeos 189 } // namespace chromeos
185 190
186 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_IBUS_H_ 191 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_IBUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698