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

Issue 2181153002: Revert of Remove NativeThemeWin::PaintIndirect (Closed)

Created:
4 years, 5 months ago by tomhudson
Modified:
4 years, 5 months ago
CC:
chromium-reviews, enne (OOO), reveman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Remove NativeThemeWin::PaintIndirect (patchset #3 id:40001 of https://codereview.chromium.org/2090003003/ ) Reason for revert: Directly causes crbug.com/628574, which is ship-blocking; we'll have to find another way to clean up the mess. Original issue's description: > Remove NativeThemeWin::PaintIndirect > > We don't seem to actually use this complicated codepath in practice. > > In particular: > > 1. // This block will only get hit with --enable-accelerated-drawing flag. > That flag is obsolete, and its replacement also seems to no longer exist. > > 2. // Scrollbar components on Windows Classic theme (on all Windows versions) > // have particularly problematic alpha values, so always draw them > // indirectly. > Turning on the Windows Classic theme on 64b Windows 7, I can't cause the block > to be hit today. > > 3. // In addition, scrollbar thumbs and grippers for the Windows XP > // theme (available only on Windows XP) also need their alpha values > // fixed. > We're no longer supporting XP and have been cleared to remove relevant code. > > Once it's gone, so are several copies of functions that paint the > same UI element in different ways depending on whether they're drawing > to HDC or SkCanvas: Gutter, MenuSeparator, MenuBackground, and > MenuItemBackground. > > R=pkasting@chromium.org > BUG=543755, 579196, 622692 > > Committed: https://crrev.com/83a3c26417896b207efe22b116a03a9a162c0ca5 > Cr-Commit-Position: refs/heads/master@{#404155} TBR=pkasting@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=543755, 579196, 622692 Committed: https://crrev.com/3d5fd19c90eb5e1715cd553b4161dc24d093eb23 Cr-Commit-Position: refs/heads/master@{#407679}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -67 lines) Patch
M ui/native_theme/native_theme_win.h View 4 chunks +28 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme_win.cc View 7 chunks +267 lines, -67 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
tomhudson
Created Revert of Remove NativeThemeWin::PaintIndirect
4 years, 5 months ago (2016-07-26 00:28:55 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2181153002/1
4 years, 5 months ago (2016-07-26 00:29:33 UTC) #3
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 5 months ago (2016-07-26 00:29:35 UTC) #5
tomhudson
Does my LGTM suffice?
4 years, 5 months ago (2016-07-26 00:31:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2181153002/1
4 years, 5 months ago (2016-07-26 00:33:10 UTC) #8
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 5 months ago (2016-07-26 00:33:12 UTC) #10
Tom Hudson
LGTM from the chromium account this time.
4 years, 5 months ago (2016-07-26 00:57:44 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2181153002/1
4 years, 5 months ago (2016-07-26 00:58:13 UTC) #14
Peter Kasting
LGTM
4 years, 5 months ago (2016-07-26 01:07:02 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-26 01:42:30 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-07-26 01:43:59 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/3d5fd19c90eb5e1715cd553b4161dc24d093eb23
Cr-Commit-Position: refs/heads/master@{#407679}

Powered by Google App Engine
This is Rietveld 408576698