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

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

Issue 680383008: Move ash/ime to ui/chromeos/ime (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_do_not_use_ash48_global_command
Patch Set: Created 6 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
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 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "chrome/browser/chromeos/input_method/input_method_engine_interface.h" 11 #include "chrome/browser/chromeos/input_method/input_method_engine_interface.h"
12 #include "chromeos/ime/input_method_descriptor.h" 12 #include "chromeos/ime/input_method_descriptor.h"
13 13
14 namespace ui { 14 namespace ui {
15 class KeyEvent; 15 class KeyEvent;
16 } // namespace ui
17 16
18 namespace ash {
19 namespace ime { 17 namespace ime {
20 struct InputMethodMenuItem; 18 struct InputMethodMenuItem;
21 } // namespace ime 19 }
22 } // namespace ash 20 }
23 21
24 namespace chromeos { 22 namespace chromeos {
25 23
26 class CompositionText; 24 class CompositionText;
27 25
28 namespace input_method { 26 namespace input_method {
29 class CandidateWindow; 27 class CandidateWindow;
30 struct KeyEventHandle; 28 struct KeyEventHandle;
31 } // namespace input_method 29 }
32 30
33 class MockInputMethodEngine : public InputMethodEngineInterface { 31 class MockInputMethodEngine : public InputMethodEngineInterface {
34 public: 32 public:
35 MockInputMethodEngine(); 33 MockInputMethodEngine();
36 virtual ~MockInputMethodEngine(); 34 virtual ~MockInputMethodEngine();
37 35
38 // InputMethodEngineInterface overrides. 36 // InputMethodEngineInterface overrides.
39 virtual const std::string& GetActiveComponentId() const override; 37 virtual const std::string& GetActiveComponentId() const override;
40 virtual bool SetComposition(int context_id, 38 virtual bool SetComposition(int context_id,
41 const char* text, 39 const char* text,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 91
94 // The current candidate window property. 92 // The current candidate window property.
95 CandidateWindowProperty candidate_window_property_; 93 CandidateWindowProperty candidate_window_property_;
96 94
97 std::string last_activated_property_; 95 std::string last_activated_property_;
98 }; 96 };
99 97
100 } // namespace chromeos 98 } // namespace chromeos
101 99
102 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_ 100 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698