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

Unified Diff: chrome/browser/chromeos/input_method/candidate_window_view.h

Issue 8840002: (Chrome OS) Notify when the candidate window is opened/closed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unused header Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/input_method/candidate_window_view.h
diff --git a/chrome/browser/chromeos/input_method/candidate_window_view.h b/chrome/browser/chromeos/input_method/candidate_window_view.h
index 06e3120ce7ffb5f45307dd735668099764c15a8f..b5570eeb96478997408dbde48e3fa0a4f6bda3ac 100644
--- a/chrome/browser/chromeos/input_method/candidate_window_view.h
+++ b/chrome/browser/chromeos/input_method/candidate_window_view.h
@@ -26,6 +26,9 @@ class CandidateWindowView : public views::View {
// See comments at NotifyCandidateClicked() in chromeos_input_method_ui.h
// for details about the parameters.
virtual void OnCandidateCommitted(int index, int button, int flag) = 0;
+
+ virtual void OnCandidateWindowOpened() = 0;
+ virtual void OnCandidateWindowClosed() = 0;
};
explicit CandidateWindowView(views::Widget* parent_frame);
@@ -137,6 +140,8 @@ class CandidateWindowView : public views::View {
// Returns the appropriate area (header or footer) to put auxiliary texts.
InformationTextArea* GetAuxiliaryTextArea();
+ bool IsCandidateWindowOpen() const;
+
// The lookup table (candidates).
InputMethodLookupTable lookup_table_;
« no previous file with comments | « chrome/browser/chromeos/input_method/candidate_window.cc ('k') | chrome/browser/chromeos/input_method/input_method_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698