summaryrefslogtreecommitdiffstats
path: root/chrome/common/platform_util_win.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-04 02:07:02 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-04 02:07:02 +0000
commitd626039c56c514d99c464f37e4621371ef4846da (patch)
treebcad41f4ff83c85838a835c5d645d556deaed995 /chrome/common/platform_util_win.cc
parent4e2c7cb18c64b8ecf5823206493a3701dccf8d56 (diff)
downloadchromium_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_win.cc')
-rw-r--r--chrome/common/platform_util_win.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/platform_util_win.cc b/chrome/common/platform_util_win.cc
index 1b1b666..6ddd47c 100644
--- a/chrome/common/platform_util_win.cc
+++ b/chrome/common/platform_util_win.cc
@@ -157,4 +157,8 @@ void SimpleErrorBox(gfx::NativeWindow parent,
win_util::MessageBox(parent, message, title, MB_OK | MB_SETFOREGROUND);
}
+RendererPreferences GetInitedRendererPreferences() {
+ return RendererPreferences();
+}
+
} // namespace platform_util