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

Issue 2155273002: Make it possible for downstream projects to easily set the default fill color

Created:
4 years, 5 months ago by Mostyn Bramley-Moore
Modified:
4 years, 4 months ago
Reviewers:
pdr, chrishtr
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, danakj+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, jam, jbauman+watch_chromium.org, kalyank, kinuko+watch, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, nona+watch_chromium.org, piman+watch_chromium.org, shuchen+watch_chromium.org, sievers+watch_chromium.org, James Su, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make it possible for downstream projects to easily set the default fill color This still requires downstream patching, but the patch should be simpler now. To test, define DEFAULT_BACKGROUND_COLOR in content/public/common/web_preferences.cc to something like SK_ColorRED, then watch for a red flash eg when starting content_shell. Original patch by Łukasz Lipski. BUG=331654

Patch Set 1 #

Patch Set 2 : don't segfault if there is no RenderViewHost #

Patch Set 3 : rebase on master #

Patch Set 4 : add mac change too #

Patch Set 5 : mac fixup #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -6 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 1 chunk +3 lines, -3 lines 1 comment Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/web_preferences.h View 2 chunks +7 lines, -0 lines 0 comments Download
M content/public/common/web_preferences.cc View 3 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Settings.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Settings.in View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebSettingsImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebSettingsImpl.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebSettings.h View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (24 generated)
Mostyn Bramley-Moore
@chrishtr: please take a look- perhaps this helps with crbug.com/21798 a little?
4 years, 5 months ago (2016-07-21 07:53:08 UTC) #18
Mostyn Bramley-Moore
*ping*
4 years, 4 months ago (2016-07-29 06:54:43 UTC) #26
chrishtr
https://codereview.chromium.org/2155273002/diff/80001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2155273002/diff/80001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode499 content/browser/renderer_host/render_widget_host_view_aura.cc:499: host_->SetBackgroundOpaque(GetBackgroundOpaque()); Why do you also need to set whether ...
4 years, 4 months ago (2016-07-29 18:15:41 UTC) #27
Mostyn Bramley-Moore
4 years, 4 months ago (2016-08-02 15:00:17 UTC) #28
I am OOO for two weeks to look after some family issues, I will get back to this
once I'm back.

Powered by Google App Engine
This is Rietveld 408576698