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

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

Issue 29943002: Limit display of the virtual keyboard to state changes triggered from a user gesture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | 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 UI_BASE_IME_FAKE_INPUT_METHOD_H_ 5 #ifndef UI_BASE_IME_FAKE_INPUT_METHOD_H_
6 #define UI_BASE_IME_FAKE_INPUT_METHOD_H_ 6 #define UI_BASE_IME_FAKE_INPUT_METHOD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE; 44 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE;
45 virtual void CancelComposition(const TextInputClient* client) OVERRIDE; 45 virtual void CancelComposition(const TextInputClient* client) OVERRIDE;
46 virtual void OnInputLocaleChanged() OVERRIDE; 46 virtual void OnInputLocaleChanged() OVERRIDE;
47 virtual std::string GetInputLocale() OVERRIDE; 47 virtual std::string GetInputLocale() OVERRIDE;
48 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; 48 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE;
49 virtual bool IsActive() OVERRIDE; 49 virtual bool IsActive() OVERRIDE;
50 virtual TextInputType GetTextInputType() const OVERRIDE; 50 virtual TextInputType GetTextInputType() const OVERRIDE;
51 virtual TextInputMode GetTextInputMode() const OVERRIDE; 51 virtual TextInputMode GetTextInputMode() const OVERRIDE;
52 virtual bool CanComposeInline() const OVERRIDE; 52 virtual bool CanComposeInline() const OVERRIDE;
53 virtual bool IsCandidatePopupOpen() const OVERRIDE; 53 virtual bool IsCandidatePopupOpen() const OVERRIDE;
54 virtual void ShowVirtualKeyboard() OVERRIDE;
54 virtual void AddObserver(InputMethodObserver* observer) OVERRIDE; 55 virtual void AddObserver(InputMethodObserver* observer) OVERRIDE;
55 virtual void RemoveObserver(InputMethodObserver* observer) OVERRIDE; 56 virtual void RemoveObserver(InputMethodObserver* observer) OVERRIDE;
56 57
57 private: 58 private:
58 internal::InputMethodDelegate* delegate_; 59 internal::InputMethodDelegate* delegate_;
59 TextInputClient* text_input_client_; 60 TextInputClient* text_input_client_;
60 bool is_sticky_text_input_client_; 61 bool is_sticky_text_input_client_;
61 ObserverList<InputMethodObserver> observers_; 62 ObserverList<InputMethodObserver> observers_;
62 63
63 DISALLOW_COPY_AND_ASSIGN(FakeInputMethod); 64 DISALLOW_COPY_AND_ASSIGN(FakeInputMethod);
64 }; 65 };
65 66
66 } // namespace ui 67 } // namespace ui
67 68
68 #endif // UI_BASE_IME_FAKE_INPUT_METHOD_H_ 69 #endif // UI_BASE_IME_FAKE_INPUT_METHOD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698