Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Issue 458013: Make the default RendererPreferences smarter.... (Closed)

Created:
11 years ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, darin (slow to review), jam, ben+cc_chromium.org
Visibility:
Public.

Description

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) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=33775

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -15 lines) Patch
M chrome/browser/extensions/extension_host.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_host.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/render_view_host_delegate.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/views/notifications/balloon_view_host.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/platform_util.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/common/platform_util_linux.cc View 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/common/platform_util_mac.mm View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/platform_util_win.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Evan Stade
I thought about this for a while and didn't find a great way to do ...
11 years ago (2009-12-03 01:52:28 UTC) #1
Evan Stade
actually I think I have another way I like better.. hold off on reviewing
11 years ago (2009-12-03 01:57:35 UTC) #2
Evan Stade
ok, have at it
11 years ago (2009-12-03 02:13:21 UTC) #3
Elliot Glaysher
I don't like the assumptions behind this change. So I start writing the synchronization patch. ...
11 years ago (2009-12-03 18:06:34 UTC) #4
Evan Stade
On 2009/12/03 18:06:34, Elliot Glaysher wrote: > I don't like the assumptions behind this change. ...
11 years ago (2009-12-03 18:10:44 UTC) #5
Elliot Glaysher
11 years ago (2009-12-03 18:34:10 UTC) #6
I'm not happy about it, but I thought of a way to do this with just a singleton
on the side and a registry of the current live RVHs.  (Singelton object listens
for notification, updated RendererPreferences and then tells each RVH to
update.)

Anyway, LGTM I guess?

Powered by Google App Engine
This is Rietveld 408576698