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

Issue 14424007: Use the default theme as the fallback UI in Blink (Closed)

Created:
7 years, 8 months ago by keishi
Modified:
7 years, 7 months ago
Reviewers:
jamesr, sky, Dirk Pranke
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Use the default theme as the fallback UI in Blink Most native themes don't support zooming or styling required by Blink. This introduces a FallbackTheme that can be used in these situations. Blink side change: https://codereview.chromium.org/14108007/ BUG=84973 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200431 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200785 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201085 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201390

Patch Set 1 #

Patch Set 2 : Use aura colors for fallback theme #

Total comments: 6

Patch Set 3 : Fixed #

Patch Set 4 : Rebased #

Total comments: 1

Patch Set 5 : Changed order. #

Patch Set 6 : Rebased #

Patch Set 7 : #

Patch Set 8 : Removed static constructor #

Patch Set 9 : Rebased #

Patch Set 10 : Moved const colors #

Patch Set 11 : Removed static initializer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -228 lines) Patch
M ui/native_theme/common_theme.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A ui/native_theme/fallback_theme.h View 1 2 3 4 5 6 7 1 chunk +28 lines, -0 lines 0 comments Download
A ui/native_theme/fallback_theme.cc View 1 2 3 4 5 6 7 8 9 1 chunk +198 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme_aura.h View 1 2 3 4 5 6 2 chunks +2 lines, -3 lines 0 comments Download
M ui/native_theme/native_theme_aura.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -168 lines 0 comments Download
A webkit/glue/webfallbackthemeengine_impl.h View 1 2 3 4 5 6 7 1 chunk +39 lines, -0 lines 0 comments Download
A + webkit/glue/webfallbackthemeengine_impl.cc View 1 2 3 4 5 6 7 8 chunks +60 lines, -54 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/glue/webkitplatformsupport_impl.h View 1 2 3 4 5 6 3 chunks +4 lines, -1 line 0 comments Download
M webkit/glue/webkitplatformsupport_impl.cc View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 33 (0 generated)
keishi
sky@ could you review the changes to ui/native_theme jamesr@ could you review the changes to ...
7 years, 8 months ago (2013-04-23 12:27:22 UTC) #1
sky
From what I remember (and I could be wrong here since I haven't closely followed ...
7 years, 8 months ago (2013-04-23 15:23:43 UTC) #2
jamesr
What's the motivation for this change? There's no bug linked.
7 years, 8 months ago (2013-04-23 17:17:53 UTC) #3
keishi
On 2013/04/23 15:23:43, sky wrote: > From what I remember (and I could be wrong ...
7 years, 8 months ago (2013-04-24 14:50:54 UTC) #4
sky
I'm curious for the answer to James's question as well. Additionally when would you use ...
7 years, 8 months ago (2013-04-24 14:56:06 UTC) #5
keishi
On 2013/04/23 17:17:53, jamesr wrote: > What's the motivation for this change? There's no bug ...
7 years, 8 months ago (2013-04-24 14:57:14 UTC) #6
keishi
On 2013/04/24 14:56:06, sky wrote: > I'm curious for the answer to James's question as ...
7 years, 8 months ago (2013-04-24 16:24:47 UTC) #7
sky
Please run this by the UX folks. On Wed, Apr 24, 2013 at 9:24 AM, ...
7 years, 8 months ago (2013-04-24 17:11:39 UTC) #8
keishi
On 2013/04/24 17:11:39, sky wrote: > Please run this by the UX folks. I've asked ...
7 years, 8 months ago (2013-04-26 09:23:09 UTC) #9
sky
https://codereview.chromium.org/14424007/diff/5001/ui/native_theme/fallback_theme.cc File ui/native_theme/fallback_theme.cc (right): https://codereview.chromium.org/14424007/diff/5001/ui/native_theme/fallback_theme.cc#newcode80 ui/native_theme/fallback_theme.cc:80: Only one new line. https://codereview.chromium.org/14424007/diff/5001/ui/native_theme/fallback_theme.h File ui/native_theme/fallback_theme.h (right): https://codereview.chromium.org/14424007/diff/5001/ui/native_theme/fallback_theme.h#newcode13 ...
7 years, 8 months ago (2013-04-26 16:13:50 UTC) #10
jamesr
webkit/glue/ lgtm once sky's happy with the ui/ changes
7 years, 8 months ago (2013-04-26 18:08:21 UTC) #11
keishi
https://codereview.chromium.org/14424007/diff/5001/ui/native_theme/fallback_theme.cc File ui/native_theme/fallback_theme.cc (right): https://codereview.chromium.org/14424007/diff/5001/ui/native_theme/fallback_theme.cc#newcode80 ui/native_theme/fallback_theme.cc:80: On 2013/04/26 16:13:50, sky wrote: > Only one new ...
7 years, 7 months ago (2013-04-30 08:16:58 UTC) #12
keishi
sky@ could you take a look again? Thanks.
7 years, 7 months ago (2013-05-09 12:55:46 UTC) #13
sky
LGTM https://codereview.chromium.org/14424007/diff/18001/ui/native_theme/fallback_theme.cc File ui/native_theme/fallback_theme.cc (right): https://codereview.chromium.org/14424007/diff/18001/ui/native_theme/fallback_theme.cc#newcode80 ui/native_theme/fallback_theme.cc:80: SkColor FallbackTheme::GetSystemColor(ColorId color_id) const { Make order match ...
7 years, 7 months ago (2013-05-09 16:11:35 UTC) #14
keishi
On 2013/05/09 16:11:35, sky wrote: > LGTM > > https://codereview.chromium.org/14424007/diff/18001/ui/native_theme/fallback_theme.cc > File ui/native_theme/fallback_theme.cc (right): > ...
7 years, 7 months ago (2013-05-10 02:25:54 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/14424007/31001
7 years, 7 months ago (2013-05-15 10:48:13 UTC) #16
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 7 months ago (2013-05-15 11:07:33 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/14424007/31001
7 years, 7 months ago (2013-05-16 00:28:38 UTC) #18
commit-bot: I haz the power
Change committed as 200431
7 years, 7 months ago (2013-05-16 03:30:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/14424007/18002
7 years, 7 months ago (2013-05-17 03:51:23 UTC) #20
commit-bot: I haz the power
Failed to apply patch for ui/native_theme/native_theme_aura.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-17 03:51:35 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/14424007/56001
7 years, 7 months ago (2013-05-17 05:46:02 UTC) #22
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=150222
7 years, 7 months ago (2013-05-17 08:53:00 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/14424007/56001
7 years, 7 months ago (2013-05-17 09:10:06 UTC) #24
commit-bot: I haz the power
Change committed as 200785
7 years, 7 months ago (2013-05-17 11:27:51 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/14424007/77001
7 years, 7 months ago (2013-05-20 06:50:28 UTC) #26
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, cacheinvalidation_unittests, cc_unittests, check_deps, chrome_frame_net_tests, ...
7 years, 7 months ago (2013-05-20 13:53:56 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/14424007/77001
7 years, 7 months ago (2013-05-20 14:14:12 UTC) #28
commit-bot: I haz the power
Change committed as 201085
7 years, 7 months ago (2013-05-20 14:35:13 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/14424007/105001
7 years, 7 months ago (2013-05-21 14:15:27 UTC) #30
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests, chrome_frame_net_tests, chrome_frame_tests, chrome_frame_unittests, content_browsertests, installer_util_unittests, ...
7 years, 7 months ago (2013-05-21 16:33:42 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/14424007/105001
7 years, 7 months ago (2013-05-21 16:48:54 UTC) #32
commit-bot: I haz the power
7 years, 7 months ago (2013-05-22 00:02:09 UTC) #33
Message was sent while issue was closed.
Change committed as 201390

Powered by Google App Engine
This is Rietveld 408576698