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

Issue 10908099: Copy renderer preferences from embedder to guest. (Closed)

Created:
8 years, 3 months ago by lazyboy
Modified:
8 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
http://git.chromium.org/chromium/src.git@tmp
Visibility:
Public.

Description

[gtk/aura]: This fixes selection color, caret blinking for guests. BUG=146582 Tested=GTK+Aura; Sanity check on OSX (no change). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159182

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add focus ring color prefs too. #

Total comments: 1

Patch Set 3 : Copy *all* the preferences. #

Patch Set 4 : Add comments so it's obvious why we need to copy renderer prefs (gtk+aura). #

Total comments: 7

Patch Set 5 : Address comments, sync@LKGR #

Patch Set 6 : Sync to HEAD, diff conflict otherwise. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M content/browser/browser_plugin/browser_plugin_embedder.cc View 1 2 3 4 5 1 chunk +11 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Fady Samuel
http://codereview.chromium.org/10908099/diff/1/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): http://codereview.chromium.org/10908099/diff/1/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode117 content/browser/browser_plugin/browser_plugin_embedder.cc:117: #if defined(TOOLKIT_GTK) Why should this be GTK only? Why ...
8 years, 3 months ago (2012-09-06 21:21:07 UTC) #1
lazyboy
http://codereview.chromium.org/10908099/diff/1/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): http://codereview.chromium.org/10908099/diff/1/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode117 content/browser/browser_plugin/browser_plugin_embedder.cc:117: #if defined(TOOLKIT_GTK) On 2012/09/06 21:21:07, Fady Samuel wrote: > ...
8 years, 3 months ago (2012-09-08 02:38:55 UTC) #2
lazyboy
On 2012/09/08 02:38:55, lazyboy wrote: > http://codereview.chromium.org/10908099/diff/1/content/browser/browser_plugin/browser_plugin_embedder.cc > File content/browser/browser_plugin/browser_plugin_embedder.cc (right): > > http://codereview.chromium.org/10908099/diff/1/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode117 > ...
8 years, 3 months ago (2012-09-21 23:22:04 UTC) #3
Fady Samuel
https://chromiumcodereview.appspot.com/10908099/diff/4001/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://chromiumcodereview.appspot.com/10908099/diff/4001/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode102 content/browser/browser_plugin/browser_plugin_embedder.cc:102: #if defined(TOOLKIT_GTK) Is it worthwhile to just copy the ...
8 years, 3 months ago (2012-09-21 23:27:12 UTC) #4
lazyboy
Ok, I'm copying all the renderer preferences now instead of selectively copying which were broken. ...
8 years, 3 months ago (2012-09-24 19:14:41 UTC) #5
Fady Samuel
On 2012/09/24 19:14:41, lazyboy wrote: > Ok, I'm copying all the renderer preferences now instead ...
8 years, 2 months ago (2012-09-25 17:12:11 UTC) #6
lazyboy
Added comments as Fady suggested. Adding Charlie for owners. Thanks.
8 years, 2 months ago (2012-09-25 18:04:47 UTC) #7
Charlie Reis
Seems reasonable, but one question. https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode105 content/browser/browser_plugin/browser_plugin_embedder.cc:105: *guest_renderer_prefs = *web_contents()->GetMutableRendererPrefs(); Just ...
8 years, 2 months ago (2012-09-25 19:15:25 UTC) #8
lazyboy
https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode105 content/browser/browser_plugin/browser_plugin_embedder.cc:105: *guest_renderer_prefs = *web_contents()->GetMutableRendererPrefs(); I believe RenderViewHostImpl.CreateRenderView() gets the preferences: ...
8 years, 2 months ago (2012-09-25 19:26:20 UTC) #9
Charlie Reis
https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode105 content/browser/browser_plugin/browser_plugin_embedder.cc:105: *guest_renderer_prefs = *web_contents()->GetMutableRendererPrefs(); On 2012/09/25 19:26:20, lazyboy wrote: > ...
8 years, 2 months ago (2012-09-25 21:04:36 UTC) #10
lazyboy
https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode105 content/browser/browser_plugin/browser_plugin_embedder.cc:105: *guest_renderer_prefs = *web_contents()->GetMutableRendererPrefs(); For the embedder, the TabContents's PrefsTabHelper ...
8 years, 2 months ago (2012-09-25 21:21:38 UTC) #11
Charlie Reis
https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode105 content/browser/browser_plugin/browser_plugin_embedder.cc:105: *guest_renderer_prefs = *web_contents()->GetMutableRendererPrefs(); On 2012/09/25 21:21:38, lazyboy wrote: > ...
8 years, 2 months ago (2012-09-25 23:19:25 UTC) #12
Fady Samuel
On 2012/09/25 23:19:25, creis wrote: > https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc > File content/browser/browser_plugin/browser_plugin_embedder.cc (right): > > https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode105 > ...
8 years, 2 months ago (2012-09-26 00:17:19 UTC) #13
Charlie Reis
On 2012/09/26 00:17:19, Fady Samuel wrote: > On 2012/09/25 23:19:25, creis wrote: > > > ...
8 years, 2 months ago (2012-09-26 00:27:57 UTC) #14
Fady Samuel
On 2012/09/26 00:27:57, creis wrote: > On 2012/09/26 00:17:19, Fady Samuel wrote: > > On ...
8 years, 2 months ago (2012-09-26 00:45:26 UTC) #15
Charlie Reis
LGTM with one request. https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode102 content/browser/browser_plugin/browser_plugin_embedder.cc:102: // Copy renderer preferences to ...
8 years, 2 months ago (2012-09-27 19:01:32 UTC) #16
lazyboy
Thanks for the review. https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://chromiumcodereview.appspot.com/10908099/diff/13001/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode102 content/browser/browser_plugin/browser_plugin_embedder.cc:102: // Copy renderer preferences to ...
8 years, 2 months ago (2012-09-27 23:02:23 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/10908099/13002
8 years, 2 months ago (2012-09-27 23:58:58 UTC) #18
commit-bot: I haz the power
Failed to apply patch for content/browser/browser_plugin/browser_plugin_embedder.cc: While running patch -p1 --forward --force; patching file content/browser/browser_plugin/browser_plugin_embedder.cc ...
8 years, 2 months ago (2012-09-27 23:58:59 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/10908099/22001
8 years, 2 months ago (2012-09-28 00:15:21 UTC) #20
commit-bot: I haz the power
8 years, 2 months ago (2012-09-28 02:17:47 UTC) #21
Change committed as 159182

Powered by Google App Engine
This is Rietveld 408576698