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

Unified Diff: ui/app_list/search_result_observer.h

Issue 2920393002: Implementing answer card hover highlight. (Closed)
Patch Set: CR comments Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/search_result.cc ('k') | ui/app_list/views/search_result_answer_card_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_result_observer.h
diff --git a/ui/app_list/search_result_observer.h b/ui/app_list/search_result_observer.h
index 72ed4fb25d56c0fc4276b713e8cd9d32f0a539ff..3987e88736d1c4c6b255b615b5bf781ab035c10e 100644
--- a/ui/app_list/search_result_observer.h
+++ b/ui/app_list/search_result_observer.h
@@ -32,6 +32,13 @@ class APP_LIST_EXPORT SearchResultObserver {
// Invoked just before the SearchResult is destroyed.
virtual void OnResultDestroying() {}
+ // Invoked when SearchResult has an associated view, and the mouse cursor
+ // enters or exits that view. This is needed because the view is
+ // views::WebView and existing views mouse enter/exit events that are sent to
+ // its parent indicate the mouse "exited" the parent when it's actually over
+ // the WebView child.
+ virtual void OnViewHoverStateChanged() {}
+
protected:
virtual ~SearchResultObserver() {}
};
« no previous file with comments | « ui/app_list/search_result.cc ('k') | ui/app_list/views/search_result_answer_card_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698