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

Side by Side Diff: ui/base/ime/input_method_base.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: Fix ash_unittests Created 6 years, 11 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
« no previous file with comments | « ui/base/ime/input_method.h ('k') | ui/base/ime/input_method_base.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_INPUT_METHOD_BASE_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_BASE_H_
6 #define UI_BASE_IME_INPUT_METHOD_BASE_H_ 6 #define UI_BASE_IME_INPUT_METHOD_BASE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual void DetachTextInputClient(TextInputClient* client) OVERRIDE; 43 virtual void DetachTextInputClient(TextInputClient* client) OVERRIDE;
44 virtual TextInputClient* GetTextInputClient() const OVERRIDE; 44 virtual TextInputClient* GetTextInputClient() const OVERRIDE;
45 45
46 // If a derived class overrides this method, it should call parent's 46 // If a derived class overrides this method, it should call parent's
47 // implementation. 47 // implementation.
48 virtual void OnTextInputTypeChanged(const TextInputClient* client) OVERRIDE; 48 virtual void OnTextInputTypeChanged(const TextInputClient* client) OVERRIDE;
49 49
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 void ShowImeIfNeeded() OVERRIDE;
53 54
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 protected: 58 protected:
58 virtual void OnWillChangeFocusedClient(TextInputClient* focused_before, 59 virtual void OnWillChangeFocusedClient(TextInputClient* focused_before,
59 TextInputClient* focused) {} 60 TextInputClient* focused) {}
60 virtual void OnDidChangeFocusedClient(TextInputClient* focused_before, 61 virtual void OnDidChangeFocusedClient(TextInputClient* focused_before,
61 TextInputClient* focused) {} 62 TextInputClient* focused) {}
62 63
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 ObserverList<InputMethodObserver> observer_list_; 108 ObserverList<InputMethodObserver> observer_list_;
108 109
109 bool system_toplevel_window_focused_; 110 bool system_toplevel_window_focused_;
110 111
111 DISALLOW_COPY_AND_ASSIGN(InputMethodBase); 112 DISALLOW_COPY_AND_ASSIGN(InputMethodBase);
112 }; 113 };
113 114
114 } // namespace ui 115 } // namespace ui
115 116
116 #endif // UI_BASE_IME_INPUT_METHOD_BASE_H_ 117 #endif // UI_BASE_IME_INPUT_METHOD_BASE_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method.h ('k') | ui/base/ime/input_method_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698