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

Issue 2174643002: [ash-md] Updates ash shelf tooltips to MD (Closed)

Created:
4 years, 5 months ago by varkha
Modified:
4 years, 4 months ago
CC:
chromium-reviews, msw+watch_chromium.org, sadrul, tfarina, groby+bubble_chromium.org, hcarmona+bubble_chromium.org, kalyank, rouslan+bubble_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ash-md] Updates ash shelf tooltips to MD Makes shelf tooltip appear as in MD spec. - rounded corners with a radius of 2px - height = 24px - margins of 8px - offset from the shelf 8px - black background at 80% opacity - white text color at 87% opacity Note: Sizing of the shelf tooltips (and other chrome bubbles) is broken because of http://crbug.com/630444. This CL was debugged with a local rollback of https://codereview.chromium.org/2148963002. BUG=595011 Committed: https://crrev.com/4196fbdf697ccefa236d9b331698cdd34f8f1e18 Cr-Commit-Position: refs/heads/master@{#407898}

Patch Set 1 #

Total comments: 7

Patch Set 2 : [ash-md] Updates ash shelf tooltips to MD (not under flag) #

Patch Set 3 : [ash-md] Updates ash shelf tooltips to MD (no new shadow type) #

Total comments: 8

Patch Set 4 : [ash-md] Updates ash shelf tooltips to MD (nits) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -13 lines) Patch
M ash/shelf/shelf_tooltip_manager.cc View 1 2 3 4 chunks +32 lines, -13 lines 0 comments Download
M ui/views/bubble/bubble_border.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_border.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_dialog_delegate.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_dialog_delegate.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (21 generated)
varkha
tdanderson@, can you please take a look? Thanks! Next steps (not in this CL): Make ...
4 years, 5 months ago (2016-07-22 02:54:10 UTC) #4
msw
https://codereview.chromium.org/2174643002/diff/1/ash/shelf/shelf_tooltip_manager.cc File ash/shelf/shelf_tooltip_manager.cc (right): https://codereview.chromium.org/2174643002/diff/1/ash/shelf/shelf_tooltip_manager.cc#newcode59 ash/shelf/shelf_tooltip_manager.cc:59: set_shadow(material ? views::BubbleBorder::NO_ASSETS_TOOLTIP driveby: Can you use the existing ...
4 years, 5 months ago (2016-07-22 16:51:06 UTC) #9
tdanderson
I'll re-review pending your opinion of my suggestion below: https://codereview.chromium.org/2174643002/diff/1/ash/common/material_design/material_design_controller.h File ash/common/material_design/material_design_controller.h (right): https://codereview.chromium.org/2174643002/diff/1/ash/common/material_design/material_design_controller.h#newcode47 ash/common/material_design/material_design_controller.h:47: ...
4 years, 5 months ago (2016-07-22 17:24:32 UTC) #10
varkha
https://codereview.chromium.org/2174643002/diff/1/ash/common/material_design/material_design_controller.h File ash/common/material_design/material_design_controller.h (right): https://codereview.chromium.org/2174643002/diff/1/ash/common/material_design/material_design_controller.h#newcode47 ash/common/material_design/material_design_controller.h:47: static bool IsTooltipMaterial(); On 2016/07/22 17:24:31, tdanderson wrote: > ...
4 years, 5 months ago (2016-07-22 22:03:57 UTC) #12
varkha
+jamescook@ for OWNERS in ash/shelf.
4 years, 5 months ago (2016-07-22 22:06:16 UTC) #15
msw
https://codereview.chromium.org/2174643002/diff/1/ash/shelf/shelf_tooltip_manager.cc File ash/shelf/shelf_tooltip_manager.cc (right): https://codereview.chromium.org/2174643002/diff/1/ash/shelf/shelf_tooltip_manager.cc#newcode59 ash/shelf/shelf_tooltip_manager.cc:59: set_shadow(material ? views::BubbleBorder::NO_ASSETS_TOOLTIP On 2016/07/22 22:03:56, varkha wrote: > ...
4 years, 5 months ago (2016-07-22 22:14:52 UTC) #17
msw
https://codereview.chromium.org/2174643002/diff/1/ash/shelf/shelf_tooltip_manager.cc File ash/shelf/shelf_tooltip_manager.cc (right): https://codereview.chromium.org/2174643002/diff/1/ash/shelf/shelf_tooltip_manager.cc#newcode59 ash/shelf/shelf_tooltip_manager.cc:59: set_shadow(material ? views::BubbleBorder::NO_ASSETS_TOOLTIP On 2016/07/22 22:14:52, msw wrote: > ...
4 years, 5 months ago (2016-07-22 22:16:25 UTC) #18
James Cook
varkha@, it sounds like msw and tdanderson had some questions... can you ping me for ...
4 years, 5 months ago (2016-07-22 23:32:40 UTC) #21
varkha
I have added methods to allow customizing the interior border thickness. This seems the simplest ...
4 years, 5 months ago (2016-07-23 01:09:42 UTC) #22
James Cook
ash/shelf LGTM with nit https://codereview.chromium.org/2174643002/diff/40001/ash/shelf/shelf_tooltip_manager.cc File ash/shelf/shelf_tooltip_manager.cc (right): https://codereview.chromium.org/2174643002/diff/40001/ash/shelf/shelf_tooltip_manager.cc#newcode47 ash/shelf/shelf_tooltip_manager.cc:47: // bubble and an additional ...
4 years, 4 months ago (2016-07-25 17:01:08 UTC) #27
msw
bubble lgtm; thanks for the more generic solution there. https://codereview.chromium.org/2174643002/diff/40001/ui/views/bubble/bubble_border.h File ui/views/bubble/bubble_border.h (right): https://codereview.chromium.org/2174643002/diff/40001/ui/views/bubble/bubble_border.h#newcode209 ui/views/bubble/bubble_border.h:209: ...
4 years, 4 months ago (2016-07-25 18:11:56 UTC) #28
varkha
https://codereview.chromium.org/2174643002/diff/40001/ash/shelf/shelf_tooltip_manager.cc File ash/shelf/shelf_tooltip_manager.cc (right): https://codereview.chromium.org/2174643002/diff/40001/ash/shelf/shelf_tooltip_manager.cc#newcode47 ash/shelf/shelf_tooltip_manager.cc:47: // bubble and an additional 1px padding for the ...
4 years, 4 months ago (2016-07-26 19:20:00 UTC) #29
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/2174643002/60001
4 years, 4 months ago (2016-07-26 19:20:37 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-07-26 20:14:33 UTC) #34
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 20:16:23 UTC) #36
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4196fbdf697ccefa236d9b331698cdd34f8f1e18
Cr-Commit-Position: refs/heads/master@{#407898}

Powered by Google App Engine
This is Rietveld 408576698