| Index: chrome/browser/chromeos/input_method/mock_input_method_engine.h
|
| diff --git a/chrome/browser/chromeos/input_method/mock_input_method_engine.h b/chrome/browser/chromeos/input_method/mock_input_method_engine.h
|
| index fef0e560d6121a81c7ef5c77cc88412b67d7f9b4..0ee90731b7108375b99975aa6512dba01a4981d2 100644
|
| --- a/chrome/browser/chromeos/input_method/mock_input_method_engine.h
|
| +++ b/chrome/browser/chromeos/input_method/mock_input_method_engine.h
|
| @@ -17,20 +17,12 @@
|
| namespace ui {
|
| class IMEEngineHandlerInterface;
|
| class KeyEvent;
|
| -
|
| -namespace ime {
|
| -struct InputMethodMenuItem;
|
| -}
|
| -}
|
| +} // namespace ui
|
|
|
| namespace chromeos {
|
|
|
| class CompositionText;
|
|
|
| -namespace input_method {
|
| -class CandidateWindow;
|
| -}
|
| -
|
| class MockInputMethodEngine : public ui::IMEEngineHandlerInterface {
|
| public:
|
| MockInputMethodEngine();
|
| @@ -38,31 +30,14 @@ class MockInputMethodEngine : public ui::IMEEngineHandlerInterface {
|
|
|
| // IMEEngineHandlerInterface overrides.
|
| const std::string& GetActiveComponentId() const override;
|
| - bool SetComposition(int context_id,
|
| - const char* text,
|
| - int selection_start,
|
| - int selection_end,
|
| - int cursor,
|
| - const std::vector<SegmentInfo>& segments,
|
| - std::string* error) override;
|
| bool ClearComposition(int context_id, std::string* error) override;
|
| bool CommitText(int context_id,
|
| const char* text,
|
| std::string* error) override;
|
| - bool SendKeyEvents(int context_id,
|
| - const std::vector<KeyboardEvent>& events) override;
|
| - const CandidateWindowProperty& GetCandidateWindowProperty() const override;
|
| - void SetCandidateWindowProperty(
|
| - const CandidateWindowProperty& property) override;
|
| bool SetCandidateWindowVisible(bool visible, std::string* error) override;
|
| - bool SetCandidates(int context_id,
|
| - const std::vector<Candidate>& candidates,
|
| - std::string* error) override;
|
| bool SetCursorPosition(int context_id,
|
| int candidate_id,
|
| std::string* error) override;
|
| - bool SetMenuItems(const std::vector<MenuItem>& items) override;
|
| - bool UpdateMenuItems(const std::vector<MenuItem>& items) override;
|
| bool IsActive() const override;
|
| bool DeleteSurroundingText(int context_id,
|
| int offset,
|
| @@ -95,9 +70,6 @@ class MockInputMethodEngine : public ui::IMEEngineHandlerInterface {
|
| private:
|
| std::string active_component_id_;
|
|
|
| - // The current candidate window property.
|
| - CandidateWindowProperty candidate_window_property_;
|
| -
|
| std::string last_activated_property_;
|
| };
|
|
|
|
|