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 2664073006: Implement ChromeViewsDelegate methods in terms of LayoutDelegate where possible. (Closed)

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

Description

Implement ChromeViewsDelegate methods in terms of LayoutDelegate where possible. Regardless of how we ultimately choose to organize this functionality, this reduces the number of distinct implementations, and thus makes that reorg easier and safer. This also adds const qualifiers to these functions while I'm touching them. BUG=687349 TEST=none Review-Url: https://codereview.chromium.org/2664073006 Cr-Commit-Position: refs/heads/master@{#447586} Committed: https://chromium.googlesource.com/chromium/src/+/1f4e396f609abc324f544bd0378c56fc1749e22b

Patch Set 1 #

Patch Set 2 : Now with correct type names #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -38 lines) Patch
M chrome/browser/ui/views/chrome_views_delegate.h View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.cc View 1 1 chunk +20 lines, -23 lines 2 comments Download
M ui/views/views_delegate.h View 1 chunk +5 lines, -5 lines 0 comments Download
M ui/views/views_delegate.cc View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (10 generated)
Peter Kasting
3 years, 10 months ago (2017-02-01 04:15:13 UTC) #5
sky
LGTM https://codereview.chromium.org/2664073006/diff/20001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/2664073006/diff/20001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode551 chrome/browser/ui/views/chrome_views_delegate.cc:551: LayoutDelegate::Metric::RELATED_BUTTON_HORIZONTAL_SPACING); I'm assuming all these calls result in ...
3 years, 10 months ago (2017-02-01 16:29:02 UTC) #9
Peter Kasting
https://codereview.chromium.org/2664073006/diff/20001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/2664073006/diff/20001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode551 chrome/browser/ui/views/chrome_views_delegate.cc:551: LayoutDelegate::Metric::RELATED_BUTTON_HORIZONTAL_SPACING); On 2017/02/01 16:29:01, sky wrote: > I'm assuming ...
3 years, 10 months ago (2017-02-01 19:58:43 UTC) #10
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/2664073006/20001
3 years, 10 months ago (2017-02-01 19:59:13 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-02-01 20:05:34 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/1f4e396f609abc324f544bd0378c...

Powered by Google App Engine
This is Rietveld 408576698