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

Issue 637083002: Sets the default background color of inline signin and user manager to grey (Closed)

Created:
6 years, 2 months ago by guohui
Modified:
6 years, 1 month ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Sets the default background color of inline signin and user manager to grey The purpose is to avoid the white flash before the web content is loaded. This CL only handles the view implementation, mac implementation will be handled in the next cl. BUG=368225 Committed: https://crrev.com/fe517ffc1a9550ff4557b5718b01b103bd134616 Cr-Commit-Position: refs/heads/master@{#299594} Committed: https://crrev.com/0d3bef753bf4541c906b3d5b90f691a8e2dbddd7 Cr-Commit-Position: refs/heads/master@{#300961}

Patch Set 1 : #

Total comments: 3

Patch Set 2 : rewrite SetBackgroundOpaque and add cocoa impl #

Patch Set 3 : removed SetBackgroundOpaque and updated callers #

Total comments: 2

Patch Set 4 : removed SetBackgroundOpaque and updated callers #

Patch Set 5 : fixed broken android bots #

Patch Set 6 : nits fixed #

Total comments: 2

Patch Set 7 : renamed the method FillBackgroundWithDefaultColor #

Patch Set 8 : rebased #

Patch Set 9 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -45 lines) Patch
M chrome/browser/chromeos/first_run/first_run_view.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_view.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_avatar_icon_util.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_avatar_icon_util.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/user_manager_mac.mm View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 3 7 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/views/profiles/user_manager_view.cc View 1 2 3 4 5 6 7 3 chunks +9 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 3 4 5 6 2 chunks +8 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -6 lines 0 comments Download
M content/public/browser/render_widget_host_view.h View 1 2 3 4 5 6 2 chunks +7 lines, -3 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -3 lines 0 comments Download
M extensions/components/native_app_window/native_app_window_views.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 48 (17 generated)
guohui
Hey, could you please review the CL? noms@ for chrome/browser/profiles/... sky@ for chrome/browser/ui/views/... and content/... ...
6 years, 2 months ago (2014-10-07 21:00:26 UTC) #2
sky
https://codereview.chromium.org/637083002/diff/40001/content/public/browser/render_widget_host_view.h File content/public/browser/render_widget_host_view.h (right): https://codereview.chromium.org/637083002/diff/40001/content/public/browser/render_widget_host_view.h#newcode114 content/public/browser/render_widget_host_view.h:114: virtual void SetBackgroundColor(SkColor color) = 0; Can SetBackgroundOpaque be ...
6 years, 2 months ago (2014-10-07 22:03:59 UTC) #3
noms (inactive)
profiles lgtm
6 years, 2 months ago (2014-10-08 14:35:04 UTC) #4
guohui
https://codereview.chromium.org/637083002/diff/40001/content/public/browser/render_widget_host_view.h File content/public/browser/render_widget_host_view.h (right): https://codereview.chromium.org/637083002/diff/40001/content/public/browser/render_widget_host_view.h#newcode114 content/public/browser/render_widget_host_view.h:114: virtual void SetBackgroundColor(SkColor color) = 0; On 2014/10/07 22:03:59, ...
6 years, 2 months ago (2014-10-08 18:11:51 UTC) #5
guohui
https://codereview.chromium.org/637083002/diff/40001/content/public/browser/render_widget_host_view.h File content/public/browser/render_widget_host_view.h (right): https://codereview.chromium.org/637083002/diff/40001/content/public/browser/render_widget_host_view.h#newcode114 content/public/browser/render_widget_host_view.h:114: virtual void SetBackgroundColor(SkColor color) = 0; On 2014/10/08 18:11:51, ...
6 years, 2 months ago (2014-10-08 18:22:33 UTC) #6
guohui
In patch 2, I kept both SetBackgroundOpaque and SetBackgroundColor but removed the member variable background_opaque_ ...
6 years, 2 months ago (2014-10-08 20:32:50 UTC) #11
guohui
+asvitkine@ for cocoa implementation, chrome/browser/ui/cocoa/profiles/... content/browser/renderer_host/render_widget_host_view_mac.mm
6 years, 2 months ago (2014-10-08 21:32:55 UTC) #13
sky
As early mentioned I'm not a fan of both background color and opaque. Why are ...
6 years, 2 months ago (2014-10-08 22:23:19 UTC) #14
guohui
On 2014/10/08 22:23:19, sky wrote: > As early mentioned I'm not a fan of both ...
6 years, 2 months ago (2014-10-09 14:49:55 UTC) #15
Alexei Svitkine (slow)
+ccameron, who's a better reviewer for render_widget_host_view_mac.mm changes. https://codereview.chromium.org/637083002/diff/120001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/637083002/diff/120001/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode1534 content/browser/renderer_host/render_widget_host_view_mac.mm:1534: if ...
6 years, 2 months ago (2014-10-09 15:51:48 UTC) #18
guohui
On 2014/10/09 15:51:48, Alexei Svitkine wrote: > +ccameron, who's a better reviewer for render_widget_host_view_mac.mm changes. ...
6 years, 2 months ago (2014-10-09 16:01:12 UTC) #19
guohui
+sievers for render_widget_host_view_android and content_view_core_impl.cc.
6 years, 2 months ago (2014-10-09 16:05:40 UTC) #21
ccameron
lgtm Mac bits, with an extra request: can we make it so that web contents ...
6 years, 2 months ago (2014-10-09 16:54:32 UTC) #23
guohui
+benwells@ for extensions/... @ccameron, good point, though i guess it should be addressed in a ...
6 years, 2 months ago (2014-10-09 17:24:17 UTC) #25
Alexei Svitkine (slow)
lgtm
6 years, 2 months ago (2014-10-09 18:01:00 UTC) #26
benwells
native_app_window_views lgtm Please get a more specific OWNER for the web_view change, like fsamuel@ or ...
6 years, 2 months ago (2014-10-09 22:22:57 UTC) #27
guohui
+fsamule@ for owner review of extensions/browser/guest_view/web_view/web_view_guest.cc and +nasko@ for owner review of render_widget_host_view_guest.cc
6 years, 2 months ago (2014-10-09 22:28:17 UTC) #29
Fady Samuel
web_view_guest lgtm
6 years, 2 months ago (2014-10-10 01:32:45 UTC) #30
sky
LGTM https://codereview.chromium.org/637083002/diff/180001/content/public/browser/render_widget_host_view.h File content/public/browser/render_widget_host_view.h (right): https://codereview.chromium.org/637083002/diff/180001/content/public/browser/render_widget_host_view.h#newcode113 content/public/browser/render_widget_host_view.h:113: virtual void FillBackgroundWithDefaultColor() = 0; FillBackground sounds immediate. ...
6 years, 2 months ago (2014-10-10 02:17:33 UTC) #31
guohui
https://codereview.chromium.org/637083002/diff/180001/content/public/browser/render_widget_host_view.h File content/public/browser/render_widget_host_view.h (right): https://codereview.chromium.org/637083002/diff/180001/content/public/browser/render_widget_host_view.h#newcode113 content/public/browser/render_widget_host_view.h:113: virtual void FillBackgroundWithDefaultColor() = 0; On 2014/10/10 02:17:33, sky ...
6 years, 2 months ago (2014-10-10 17:20:17 UTC) #32
nasko
Rubberstamp LGTM, since fady@ has reviewed render_widget_host_view_guest*.
6 years, 2 months ago (2014-10-13 17:16:22 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/637083002/340001
6 years, 2 months ago (2014-10-14 11:47:57 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/68310) android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/12557) linux_chromium_gn_dbg ...
6 years, 2 months ago (2014-10-14 11:51:12 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/637083002/450001
6 years, 2 months ago (2014-10-14 20:07:13 UTC) #39
commit-bot: I haz the power
Committed patchset #8 (id:450001)
6 years, 2 months ago (2014-10-15 00:19:40 UTC) #40
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/fe517ffc1a9550ff4557b5718b01b103bd134616 Cr-Commit-Position: refs/heads/master@{#299594}
6 years, 2 months ago (2014-10-15 00:20:26 UTC) #41
Ken Russell (switch to Gerrit)
I'm reverting the patch above due to apparent test breakage on the Blink waterfall which ...
6 years, 2 months ago (2014-10-15 01:50:43 UTC) #43
Ken Russell (switch to Gerrit)
A revert of this CL (patchset #8 id:450001) has been created in https://codereview.chromium.org/654123004/ by kbr@chromium.org. ...
6 years, 2 months ago (2014-10-15 01:51:19 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/637083002/470001
6 years, 1 month ago (2014-10-23 20:18:30 UTC) #46
commit-bot: I haz the power
Committed patchset #9 (id:470001)
6 years, 1 month ago (2014-10-23 22:13:05 UTC) #47
commit-bot: I haz the power
6 years, 1 month ago (2014-10-23 22:13:48 UTC) #48
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/0d3bef753bf4541c906b3d5b90f691a8e2dbddd7
Cr-Commit-Position: refs/heads/master@{#300961}

Powered by Google App Engine
This is Rietveld 408576698