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

Issue 1380973003: Add a flag use_software_compositing to the Widget::InitParams structure. (Closed)

Created:
5 years, 2 months ago by ananta
Modified:
5 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, tdanderson+views_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a flag use_software_compositing to the Widget::InitParams structure. This flag when set will force the widget to use the software compositor on Windows. Currently only the menu omnibox drop down and status bubble widgets set this flag. The flag defaults to false. This removes the old hack of using the menu type to determine whether the software compositor should be used on Windows. BUG=508717 R=sky Committed: https://crrev.com/82c3ae62ef39c74658610a3f4b28cc99c9c60287 Cr-Commit-Position: refs/heads/master@{#352405}

Patch Set 1 #

Patch Set 2 : Fix alignment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -23 lines) Patch
M chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc View 1 1 chunk +6 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/status_bubble_views.cc View 1 1 chunk +6 lines, -10 lines 0 comments Download
M ui/views/controls/menu/menu_host.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/widget.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/widget/widget.cc View 2 chunks +4 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 10 (1 generated)
ananta
5 years, 2 months ago (2015-10-03 00:01:30 UTC) #1
sky
How come we only need to do this for some TYPE_POPUPS? Why doesn't the bug ...
5 years, 2 months ago (2015-10-05 15:06:00 UTC) #2
ananta
On 2015/10/05 15:06:00, sky wrote: > How come we only need to do this for ...
5 years, 2 months ago (2015-10-05 15:47:06 UTC) #3
sky
I wasn't suggesting any window, but widgets of TYPE_POPUP. Again, what's different about the status ...
5 years, 2 months ago (2015-10-05 16:02:43 UTC) #4
ananta
On 2015/10/05 16:02:43, sky wrote: > I wasn't suggesting any window, but widgets of TYPE_POPUP. ...
5 years, 2 months ago (2015-10-05 16:06:20 UTC) #5
sky
Ok, LGTM
5 years, 2 months ago (2015-10-05 17:41:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1380973003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1380973003/20001
5 years, 2 months ago (2015-10-05 19:17:01 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-05 20:18:59 UTC) #9
commit-bot: I haz the power
5 years, 2 months ago (2015-10-05 20:20:33 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/82c3ae62ef39c74658610a3f4b28cc99c9c60287
Cr-Commit-Position: refs/heads/master@{#352405}

Powered by Google App Engine
This is Rietveld 408576698