开发者

How does Google Chrome Instant Omnibox work?

开发者 https://www.devze.com 2023-02-09 10:08 出处:网络
How does omnibox instant in Google Chrome 9 work ? I enabled developer panel an开发者_JS百科d checked, but didn\'t find any XHRs being fired... Is the Omnibar hidden from developer panel ?This part is

How does omnibox instant in Google Chrome 9 work ?

I enabled developer panel an开发者_JS百科d checked, but didn't find any XHRs being fired... Is the Omnibar hidden from developer panel ?


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).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号