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

Issue 274453002: Remove RenderWidget::SetBackground, change IPC to pass a bool. (Closed)

Created:
6 years, 7 months ago by danakj
Modified:
6 years, 7 months ago
CC:
chromium-reviews, kalyank, creis+watch_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tfarina, nasko+codewatch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, chromium-apps-reviews_chromium.org, danakj+watch_chromium.org, James Su, miu+watch_chromium.org, jbauman
Visibility:
Public.

Description

Remove RenderWidget::SetBackground, change IPC to pass a bool. The ViewMsg_SetBackground message currently passes an SkBitmap that signals if the RenderView should have an opaque background or not. We can use a bool instead to convey this data. Rename the ViewMsg_SetBackground to ViewMsg_SetBackgroundOpaque as well as the Set/GetBackground methods on the various RenderWidget/View classes. RenderWidget itself no longer needs to know about the background opaque changes. R=kenrb, piman BUG=362164 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269953

Patch Set 1 #

Total comments: 4

Patch Set 2 : rm-setbackground: constbool #

Patch Set 3 : rm-setbackground: constbool2 #

Patch Set 4 : rm-setbackground: moreconstargh #

Patch Set 5 : rm-setbackground: moreconsthowcanitbe #

Patch Set 6 : rm-setbackground: chrome #

Patch Set 7 : rm-setbackground: rebase #

Patch Set 8 : rm-setbackground: mac #

Patch Set 9 : rm-setbackground: nomac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -133 lines) Patch
M apps/ui/views/native_app_window_views.cc View 1 chunk +1 line, -7 lines 0 comments Download
M chrome/browser/chromeos/first_run/first_run_view.cc View 1 2 3 4 5 1 chunk +1 line, -6 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_view.cc View 1 2 3 4 5 1 chunk +1 line, -7 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -8 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +2 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 2 chunks +12 lines, -43 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 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 +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 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 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 3 4 5 6 2 chunks +4 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 3 4 5 6 2 chunks +5 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 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 1 chunk +3 lines, -4 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -4 lines 0 comments Download
M content/public/browser/render_widget_host_view.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -6 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -8 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 57 (0 generated)
danakj
piman: please review kenrb: view_messages.h
6 years, 7 months ago (2014-05-06 23:44:07 UTC) #1
danakj
+mek for apps/
6 years, 7 months ago (2014-05-06 23:44:39 UTC) #2
piman
Did you mean to remove RenderWidget::SetBackground in this CL? https://codereview.chromium.org/274453002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/274453002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode673 content/browser/renderer_host/render_widget_host_view_android.cc:673: ...
6 years, 7 months ago (2014-05-07 00:29:55 UTC) #3
kenrb
lgtm for IPC change
6 years, 7 months ago (2014-05-07 13:46:19 UTC) #4
Marijn Kruisselbrink
apps/ lgtm
6 years, 7 months ago (2014-05-07 16:37:21 UTC) #5
danakj
Oh, ya I missed a commit on upload, thanks :) https://codereview.chromium.org/274453002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/274453002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode673 ...
6 years, 7 months ago (2014-05-07 17:08:17 UTC) #6
danakj
PTAL
6 years, 7 months ago (2014-05-07 17:10:02 UTC) #7
piman
LGTM!
6 years, 7 months ago (2014-05-07 21:01:57 UTC) #8
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-07 21:07:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/274453002/40001
6 years, 7 months ago (2014-05-07 21:10:57 UTC) #10
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-07 21:40:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/274453002/60001
6 years, 7 months ago (2014-05-07 21:42:38 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 14:43:28 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 15:35:18 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/24517)
6 years, 7 months ago (2014-05-08 15:35:18 UTC) #15
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-08 15:36:53 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/274453002/80001
6 years, 7 months ago (2014-05-08 15:41:26 UTC) #17
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-08 15:44:01 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/274453002/2
6 years, 7 months ago (2014-05-08 15:46:44 UTC) #19
danakj
+oshima for chrome/browser/chromeos
6 years, 7 months ago (2014-05-08 17:03:18 UTC) #20
danakj
oshima: ping
6 years, 7 months ago (2014-05-09 15:41:37 UTC) #21
oshima
lgtm
6 years, 7 months ago (2014-05-09 15:56:20 UTC) #22
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-09 16:53:35 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/274453002/110001
6 years, 7 months ago (2014-05-09 16:54:24 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 17:13:03 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 17:19:18 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/66832) ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/15698)
6 years, 7 months ago (2014-05-09 17:19:18 UTC) #27
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-09 17:20:26 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/274453002/110001
6 years, 7 months ago (2014-05-09 17:26:30 UTC) #29
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 17:38:20 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 17:45:19 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/15710) mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/27025)
6 years, 7 months ago (2014-05-09 17:45:20 UTC) #32
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-09 17:46:54 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/274453002/120001
6 years, 7 months ago (2014-05-09 17:50:02 UTC) #34
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 20:41:00 UTC) #35
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 23:00:55 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/27110)
6 years, 7 months ago (2014-05-09 23:00:56 UTC) #37
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-09 23:04:21 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/274453002/140001
6 years, 7 months ago (2014-05-09 23:06:06 UTC) #39
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-10 04:09:52 UTC) #40
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-10 05:14:15 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_compile_dbg/builds/22101)
6 years, 7 months ago (2014-05-10 05:14:15 UTC) #42
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-12 14:41:47 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/274453002/140001
6 years, 7 months ago (2014-05-12 14:42:14 UTC) #44
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-12 16:21:44 UTC) #45
danakj
The CQ bit was unchecked by danakj@chromium.org
6 years, 7 months ago (2014-05-12 16:34:53 UTC) #46
danakj
I'm unable to include render_widget_host_view_mac.h from render_widget_host_unittest.cc and compile. It looks to assume it's only ...
6 years, 7 months ago (2014-05-12 16:41:39 UTC) #47
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-12 16:41:46 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/274453002/160001
6 years, 7 months ago (2014-05-12 16:42:03 UTC) #49
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-12 17:09:46 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/274453002/160001
6 years, 7 months ago (2014-05-12 17:11:13 UTC) #51
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-12 21:22:26 UTC) #52
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-12 22:38:33 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/153183)
6 years, 7 months ago (2014-05-12 22:38:34 UTC) #54
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-12 22:45:23 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/274453002/160001
6 years, 7 months ago (2014-05-12 22:47:16 UTC) #56
commit-bot: I haz the power
6 years, 7 months ago (2014-05-13 01:24:51 UTC) #57
Message was sent while issue was closed.
Change committed as 269953

Powered by Google App Engine
This is Rietveld 408576698