summaryrefslogtreecommitdiffstats
path: root/ui/gfx/canvas.h
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-14 22:29:08 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-14 22:29:08 +0000
commite79e73d9a16e16bca8509574f6d8c2fe03d0f1d4 (patch)
treea9c883e0b0995cf2b08c00dfc58bb0a62a99ae67 /ui/gfx/canvas.h
parent0bec77c8fd18d731b732a6f50d9f1caf138e4bed (diff)
downloadchromium_src-e79e73d9a16e16bca8509574f6d8c2fe03d0f1d4.zip
chromium_src-e79e73d9a16e16bca8509574f6d8c2fe03d0f1d4.tar.gz
chromium_src-e79e73d9a16e16bca8509574f6d8c2fe03d0f1d4.tar.bz2
Revert 89073 - 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 TBR=msw@chromium.org Review URL: http://codereview.chromium.org/7149030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89086 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/canvas.h')
-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 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,