How does Google Chrome Instant Omnibox work?

1k views Asked by At

How does omnibox instant in Google Chrome 9 work ?
I enabled developer panel and checked, but didn't find any XHRs being fired... Is the Omnibar hidden from developer panel ?

1

There are 1 answers

2
Michael Aaron Safyan On BEST ANSWER

This part is done in C++, so you won't see it in the developer panel; you can use Google Codesearch for Chromium to view the Chromium source code. Of interest may be InstantController and TemplateURLFetcher. It's not the easiest code to follow, because it is written in the asynchronous style (the instant bits register an observer that gets invoked when the suggest URL has been fetched).