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

Issue 2571613002: Convert Register Protocol Handler dialog for Harmony/Material Design (Closed)

Created:
4 years ago by kylix_rd
Modified:
3 years, 11 months ago
Reviewers:
msw, Peter Kasting, sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert Register Protocol Handler dialog for Harmony/Material Design NOTE: this CL only addresses the primary content of the referenced issue. The other issue regarding the wrapping of text should be a separate issue and confined to the implementing views/controls. BUG=652024 Review-Url: https://codereview.chromium.org/2571613002 Cr-Commit-Position: refs/heads/master@{#442683} Committed: https://chromium.googlesource.com/chromium/src/+/44ec2a4fd5e1c052077575f84b5b5cbdb703cef6

Patch Set 1 #

Total comments: 4

Patch Set 2 : Moved LayoutDelegate to ui/views/layout #

Patch Set 3 : Moved LayoutDelegate back to chrome/browser/ui/views/harmony. Use ViewsDelegate for layout down in … #

Total comments: 6

Patch Set 4 : Fixes from feedback #

Total comments: 4

Patch Set 5 : Fixed nits #

Total comments: 2

Patch Set 6 : More fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -49 lines) Patch
M chrome/browser/ui/views/chrome_views_delegate.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.cc View 1 2 3 4 5 1 chunk +13 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.cc View 1 2 3 13 chunks +60 lines, -22 lines 0 comments Download
M chrome/browser/ui/views/cookie_info_view.cc View 1 2 3 chunks +8 lines, -4 lines 0 comments Download
D chrome/browser/ui/views/harmony/harmony_layout_delegate.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
D chrome/browser/ui/views/harmony/layout_delegate.h View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
D chrome/browser/ui/views/harmony/layout_delegate.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/layout_utils.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/login_view.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/bubble/bubble_dialog_delegate.cc View 1 2 5 chunks +12 lines, -5 lines 0 comments Download
M ui/views/layout/layout_constants.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/views_delegate.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M ui/views/views_delegate.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M ui/views/window/dialog_client_view.cc View 1 2 4 chunks +23 lines, -11 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
kylix_rd
I was unable to locate a specific Material Design spec for the views::kCheckboxIndent value. If ...
4 years ago (2016-12-12 21:33:16 UTC) #3
Peter Kasting
I don't know of a spec for the checkbox indent; I'd ask ainslie@ for any ...
4 years ago (2016-12-12 22:24:16 UTC) #4
kylix_rd
https://codereview.chromium.org/2571613002/diff/1/chrome/browser/ui/views/content_setting_bubble_contents.cc File chrome/browser/ui/views/content_setting_bubble_contents.cc (right): https://codereview.chromium.org/2571613002/diff/1/chrome/browser/ui/views/content_setting_bubble_contents.cc#newcode212 chrome/browser/ui/views/content_setting_bubble_contents.cc:212: RELATED_CONTROL_HORIZONTAL_SPACING)); On 2016/12/12 22:24:16, Peter Kasting wrote: > Seems ...
4 years ago (2016-12-13 14:21:23 UTC) #5
kylix_rd
sky@ - Please look over the changes in ui/views, chrome/browser/ui. Notably, the ViewsDelegate changes. msw@ ...
3 years, 11 months ago (2017-01-05 21:51:35 UTC) #11
sky
https://codereview.chromium.org/2571613002/diff/100001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/2571613002/diff/100001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode574 chrome/browser/ui/views/chrome_views_delegate.cc:574: return ViewsDelegate::GetDialogFrameViewInsets(); Is it intentional that you aren't calling ...
3 years, 11 months ago (2017-01-05 23:26:40 UTC) #12
kylix_rd
https://codereview.chromium.org/2571613002/diff/100001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/2571613002/diff/100001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode574 chrome/browser/ui/views/chrome_views_delegate.cc:574: return ViewsDelegate::GetDialogFrameViewInsets(); On 2017/01/05 23:26:40, sky wrote: > Is ...
3 years, 11 months ago (2017-01-06 14:36:50 UTC) #13
msw
It's a little weird that we are relying on chrome to supply views dialog/bubble insets, ...
3 years, 11 months ago (2017-01-06 23:17:43 UTC) #14
sky
The reason for that is views shouldn't have any knowledge of style information, that should ...
3 years, 11 months ago (2017-01-06 23:38:32 UTC) #15
kylix_rd
https://codereview.chromium.org/2571613002/diff/120001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/2571613002/diff/120001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode569 chrome/browser/ui/views/chrome_views_delegate.cc:569: return gfx::Insets(HarmonyLayoutDelegate::kHarmonyLayoutUnit, On 2017/01/06 23:17:43, msw wrote: > optional ...
3 years, 11 months ago (2017-01-10 14:36:44 UTC) #16
sky
LGTM https://codereview.chromium.org/2571613002/diff/140001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/2571613002/diff/140001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode568 chrome/browser/ui/views/chrome_views_delegate.cc:568: if (ui::MaterialDesignController::IsSecondaryUiMaterial()) { no {}
3 years, 11 months ago (2017-01-10 16:00:59 UTC) #17
kylix_rd
https://codereview.chromium.org/2571613002/diff/140001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/2571613002/diff/140001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode568 chrome/browser/ui/views/chrome_views_delegate.cc:568: if (ui::MaterialDesignController::IsSecondaryUiMaterial()) { On 2017/01/10 16:00:59, sky wrote: > ...
3 years, 11 months ago (2017-01-10 17:24:12 UTC) #18
msw
lgtm
3 years, 11 months ago (2017-01-10 19:29:22 UTC) #19
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/2571613002/160001
3 years, 11 months ago (2017-01-10 20:57:42 UTC) #26
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 21:03:50 UTC) #29
Message was sent while issue was closed.
Committed patchset #6 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/44ec2a4fd5e1c052077575f84b5b...

Powered by Google App Engine
This is Rietveld 408576698