From d349a4ee13d849372eeaeaa62613667d7d854a13 Mon Sep 17 00:00:00 2001 From: "msw@chromium.org" Date: Tue, 14 Jun 2011 21:53:42 +0000 Subject: 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 --- ui/gfx/canvas.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui') 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, -- cgit v1.1