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

Side by Side Diff: ui/base/ime/mock_input_method.h

Issue 17112021: New method: InputMethod::IsCandidatePopupOpen() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Synced. Created 7 years, 6 months 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 | « ui/base/ime/input_method_tsf.cc ('k') | ui/base/ime/mock_input_method.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 (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 UI_BASE_IME_MOCK_INPUT_METHOD_H_ 5 #ifndef UI_BASE_IME_MOCK_INPUT_METHOD_H_
6 #define UI_BASE_IME_MOCK_INPUT_METHOD_H_ 6 #define UI_BASE_IME_MOCK_INPUT_METHOD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual bool DispatchFabricatedKeyEvent(const ui::KeyEvent& event) OVERRIDE; 54 virtual bool DispatchFabricatedKeyEvent(const ui::KeyEvent& event) OVERRIDE;
55 virtual void OnTextInputTypeChanged(const TextInputClient* client) OVERRIDE; 55 virtual void OnTextInputTypeChanged(const TextInputClient* client) OVERRIDE;
56 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE; 56 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE;
57 virtual void CancelComposition(const TextInputClient* client) OVERRIDE; 57 virtual void CancelComposition(const TextInputClient* client) OVERRIDE;
58 virtual void OnInputLocaleChanged() OVERRIDE; 58 virtual void OnInputLocaleChanged() OVERRIDE;
59 virtual std::string GetInputLocale() OVERRIDE; 59 virtual std::string GetInputLocale() OVERRIDE;
60 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; 60 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE;
61 virtual bool IsActive() OVERRIDE; 61 virtual bool IsActive() OVERRIDE;
62 virtual TextInputType GetTextInputType() const OVERRIDE; 62 virtual TextInputType GetTextInputType() const OVERRIDE;
63 virtual bool CanComposeInline() const OVERRIDE; 63 virtual bool CanComposeInline() const OVERRIDE;
64 virtual bool IsCandidatePopupOpen() const OVERRIDE;
64 virtual void AddObserver(InputMethodObserver* observer) OVERRIDE; 65 virtual void AddObserver(InputMethodObserver* observer) OVERRIDE;
65 virtual void RemoveObserver(InputMethodObserver* observer) OVERRIDE; 66 virtual void RemoveObserver(InputMethodObserver* observer) OVERRIDE;
66 67
67 private: 68 private:
68 TextInputClient* text_input_client_; 69 TextInputClient* text_input_client_;
69 ObserverList<Observer> observer_list_; 70 ObserverList<Observer> observer_list_;
70 71
71 DISALLOW_COPY_AND_ASSIGN(MockInputMethod); 72 DISALLOW_COPY_AND_ASSIGN(MockInputMethod);
72 }; 73 };
73 74
74 } // namespace ui 75 } // namespace ui
75 76
76 #endif // UI_BASE_IME_MOCK_INPUT_METHOD_H_ 77 #endif // UI_BASE_IME_MOCK_INPUT_METHOD_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_tsf.cc ('k') | ui/base/ime/mock_input_method.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698