diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 02:07:02 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 02:07:02 +0000 |
commit | d626039c56c514d99c464f37e4621371ef4846da (patch) | |
tree | bcad41f4ff83c85838a835c5d645d556deaed995 /chrome/common/platform_util.h | |
parent | 4e2c7cb18c64b8ecf5823206493a3701dccf8d56 (diff) | |
download | chromium_src-d626039c56c514d99c464f37e4621371ef4846da.zip chromium_src-d626039c56c514d99c464f37e4621371ef4846da.tar.gz chromium_src-d626039c56c514d99c464f37e4621371ef4846da.tar.bz2 |
Make the default RendererPreferences smarter.
Change the default RenderViewHostDelegate::GetRendererPrefs to a singleton because initialization may not always be cheap (we assume copying is, however).
BUG=29043
TEST=if you focus a link in an extension popup, you can actually see the focus ring (the focus ring had been set to 0x000000 color)
Review URL: http://codereview.chromium.org/458013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33775 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/platform_util.h')
-rw-r--r-- | chrome/common/platform_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/platform_util.h b/chrome/common/platform_util.h index 0a042f2..fbe1ba6 100644 --- a/chrome/common/platform_util.h +++ b/chrome/common/platform_util.h @@ -7,6 +7,7 @@ #include "app/gfx/native_widget_types.h" #include "base/string16.h" +#include "chrome/common/renderer_preferences.h" class FilePath; class GURL; @@ -44,6 +45,8 @@ void SimpleErrorBox(gfx::NativeWindow parent, const string16& title, const string16& message); +RendererPreferences GetInitedRendererPreferences(); + } #endif // CHROME_COMMON_PLATFORM_UTIL_H_ |