DescriptionMac: Style the omnibox URL.
Cribbed this mostly from GTK, including taking their colors pretty
directly. The hostname in the URL is a stronger color than the rest
of the URL to call it out. The https: scheme is also called out
specially. The background color changes when secure.
Also cleaned up the selection-setting so that there are distinct code
paths for updating the field and setting the selection.
Also fixed saving of selection across popup navigation via arrow keys.
Also sprinkled some const jimmies while I was in there.
http://crbug.com/10939
TEST=Type an URL, does the hostname highlight versus the rest? Do secure URLS look different?
Patch Set 1 #Patch Set 2 : Fix a couple comments, and saving across popup navigation. #
Messages
Total messages: 3 (0 generated)
|