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

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

Issue 80583002: [FYI] All-in-one OnCandidateWindow{Show,Update,Hide} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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_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/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 KeyboardCode key_code, 83 KeyboardCode key_code,
84 int flags) const; 84 int flags) const;
85 85
86 // Convenience method to notify all observers of TextInputClient changes. 86 // Convenience method to notify all observers of TextInputClient changes.
87 void NotifyTextInputStateChanged(const TextInputClient* client); 87 void NotifyTextInputStateChanged(const TextInputClient* client);
88 88
89 bool system_toplevel_window_focused() const { 89 bool system_toplevel_window_focused() const {
90 return system_toplevel_window_focused_; 90 return system_toplevel_window_focused_;
91 } 91 }
92 92
93 void NotifyCandidateWindowStateChanged();
94
93 private: 95 private:
94 void SetFocusedTextInputClientInternal(TextInputClient* client); 96 void SetFocusedTextInputClientInternal(TextInputClient* client);
95 97
96 internal::InputMethodDelegate* delegate_; 98 internal::InputMethodDelegate* delegate_;
97 TextInputClient* text_input_client_; 99 TextInputClient* text_input_client_;
98 100
99 ObserverList<InputMethodObserver> observer_list_; 101 ObserverList<InputMethodObserver> observer_list_;
100 102
101 bool system_toplevel_window_focused_; 103 bool system_toplevel_window_focused_;
102 104
105 bool is_candidate_popup_open_;
106
103 DISALLOW_COPY_AND_ASSIGN(InputMethodBase); 107 DISALLOW_COPY_AND_ASSIGN(InputMethodBase);
104 }; 108 };
105 109
106 } // namespace ui 110 } // namespace ui
107 111
108 #endif // UI_BASE_IME_INPUT_METHOD_BASE_H_ 112 #endif // UI_BASE_IME_INPUT_METHOD_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698