diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-16 05:54:15 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-16 05:54:15 +0000 |
commit | d345d5b61884e13685d2d7eadb7669268ffedd6b (patch) | |
tree | 24b12bb2551de4a16ab87d9648517c27085d1f63 /ui/gfx | |
parent | d0f6098101a099139d8e366dd32264704108b633 (diff) | |
download | chromium_src-d345d5b61884e13685d2d7eadb7669268ffedd6b.zip chromium_src-d345d5b61884e13685d2d7eadb7669268ffedd6b.tar.gz chromium_src-d345d5b61884e13685d2d7eadb7669268ffedd6b.tar.bz2 |
Revert 89298 - Update BuiltinProvider to provide chrome:// URLs.
Provide common URLs as users start typing "about://" or "chrome://".
Highlight matching input (including "chrome://" for "about:" input).
Support settings sub-pages/paths, e.g. "chrome://settings/foo".
Add BuiltinProviderTest unit test.
Additional hosts will be added when I fix crbug.com/73926.
BUG=55771
TEST=Get chrome:// AutocompleteProvider URLs in the omnibox dropdown.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89073
Review URL: http://codereview.chromium.org/6995096
TBR=msw@chromium.org
Review URL: http://codereview.chromium.org/7193003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89299 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx')
-rw-r--r-- | ui/gfx/canvas.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h index c83b797..e4ce7ad 100644 --- a/ui/gfx/canvas.h +++ b/ui/gfx/canvas.h @@ -178,8 +178,8 @@ class Canvas { // Draws text with the specified color, font and location. The text is // aligned to the left, vertically centered, clipped to the region. If the // text is too big, it is truncated and '...' is added to the end. - virtual void DrawStringInt(const string16& text, - const gfx::Font& font, + virtual void DrawStringInt(const string16& text, const + gfx::Font& font, const SkColor& color, int x, int y, int w, int h) = 0; virtual void DrawStringInt(const string16& text, |