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

Unified Diff: chrome/browser/autocomplete/autocomplete_controller.h

Issue 985503002: Omnibox - Make Omnibox Extensions Ignore Stop() Calls Due to User Idleness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
Index: chrome/browser/autocomplete/autocomplete_controller.h
diff --git a/chrome/browser/autocomplete/autocomplete_controller.h b/chrome/browser/autocomplete/autocomplete_controller.h
index 08b1164448c35fa355c0cf0182bdd303999db9df..334bbe12db43bd708cacd456dc5c9e3d227532c3 100644
--- a/chrome/browser/autocomplete/autocomplete_controller.h
+++ b/chrome/browser/autocomplete/autocomplete_controller.h
@@ -199,6 +199,11 @@ class AutocompleteController : public AutocompleteProviderListener {
// Starts |stop_timer_|.
void StartStopTimer();
+ // Helper function for Stop(). |user_inactivity_timer| means this call was
+ // triggered by a user's idleness, i.e., not an explicit user action.
+ void StopHelper(bool clear_result,
+ bool user_inactivity_timer);
Peter Kasting 2015/03/05 23:27:28 Nit: How about "due_to_user_inactivity" or "from_i
Mark P 2015/03/06 21:24:34 Good suggestions. Both are better than what I had
+
AutocompleteControllerDelegate* delegate_;
// A list of all providers.

Powered by Google App Engine
This is Rietveld 408576698