summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-14 21:53:42 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-14 21:53:42 +0000
commitd349a4ee13d849372eeaeaa62613667d7d854a13 (patch)
tree57bf5cd0d4e16e409042d23cc28dd3b995b46e5c /ui
parent9a5be1e0ddab20309b3d785b6c8ec5f4e9e6df69 (diff)
downloadchromium_src-d349a4ee13d849372eeaeaa62613667d7d854a13.zip
chromium_src-d349a4ee13d849372eeaeaa62613667d7d854a13.tar.gz
chromium_src-d349a4ee13d849372eeaeaa62613667d7d854a13.tar.bz2
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. Review URL: http://codereview.chromium.org/6995096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89073 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r--ui/gfx/canvas.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index e4ce7ad..c83b797 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,