DescriptionOmnibox - Make Omnibox Extensions Ignore Stop() Calls Due to User Idleness
We normally send all providers a Stop() call after a certain amount of time
(1.5 seconds I think) under the rationale that revising the suggestions
list that late is disruptive to the user's experience.
This doesn't make sense for explicitly-invoke omnibox extensions, which
could be doing long-running processes under the hood.
This change revises the AutocompleteProvider API to allow providers to
differentiate these two types of Stop() calls. It makes KeywordProvider
ignore the Stop() calls due to this inactivity timer.
BUG=462501
Committed: https://crrev.com/8a37c38f75c3f9c7542fc93d349af5fc3617753e
Cr-Commit-Position: refs/heads/master@{#319557}
Patch Set 1 #
Total comments: 11
Patch Set 2 : Peter's comments #Patch Set 3 : make unit tests compile #Messages
Total messages: 13 (4 generated)
|