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

Issue 2908963002: Use buttons from DialogClientView in BookmakBubbleView. (Closed)

Created:
3 years, 6 months ago by tapted
Modified:
3 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use buttons from DialogClientView in BookmakBubbleView. Currently the bookmark bubble builds its own button row, but that's unnecessary and causes it to miss out on shared framework code for layout and button style. BUG=726187 Review-Url: https://codereview.chromium.org/2908963002 Cr-Commit-Position: refs/heads/master@{#475833} Committed: https://chromium.googlesource.com/chromium/src/+/f9f292034311121b7777645eb48522ddaa6a5272

Patch Set 1 #

Patch Set 2 : fix win #

Patch Set 3 : ExtraViewPadding #

Patch Set 4 : fix ios promo #

Patch Set 5 : fix initializers #

Total comments: 14

Patch Set 6 : progress (ignore) #

Patch Set 7 : Respond to comments #

Total comments: 2

Patch Set 8 : AddPaddingRow #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -162 lines) Patch
M chrome/app/bookmarks_strings.grdp View 1 2 3 4 5 6 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/app/nibs/BookmarkBubble.xib View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h View 1 2 3 4 4 chunks +19 lines, -22 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc View 1 2 3 4 5 6 7 11 chunks +92 lines, -121 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.cc View 1 2 3 4 5 1 chunk +5 lines, -8 lines 0 comments Download

Messages

Total messages: 41 (33 generated)
tapted
Hi Peter, please take a look https://codereview.chromium.org/2908963002/diff/120001/chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.cc File chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.cc (right): https://codereview.chromium.org/2908963002/diff/120001/chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.cc#newcode27 chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.cc:27: IDS_DESKTOP_IOS_PROMOTION_SAVE_PASSWORDS_BUBBLE_TEXT_WIDTH_CHARS); Just updating ...
3 years, 6 months ago (2017-05-29 07:55:45 UTC) #23
Peter Kasting
https://codereview.chromium.org/2908963002/diff/120001/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc (right): https://codereview.chromium.org/2908963002/diff/120001/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc#newcode147 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc:147: return base::string16(); Nit: Simpler: return l10n_util::GetStringUTF16((button == ui::DIALOG_BUTTON_OK) ? ...
3 years, 6 months ago (2017-05-31 02:43:31 UTC) #24
tapted
PTAL. I decided to bite the bullet. Plan would be to sweep through a bunch ...
3 years, 6 months ago (2017-05-31 04:27:49 UTC) #27
Peter Kasting
https://codereview.chromium.org/2908963002/diff/150001/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc (right): https://codereview.chromium.org/2908963002/diff/150001/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc#newcode342 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc:342: provider->GetDistanceMetric(DISTANCE_UNRELATED_CONTROL_VERTICAL), 0, 0, I don't think we want to ...
3 years, 6 months ago (2017-05-31 05:45:46 UTC) #30
tapted
https://codereview.chromium.org/2908963002/diff/150001/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc (right): https://codereview.chromium.org/2908963002/diff/150001/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc#newcode342 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc:342: provider->GetDistanceMetric(DISTANCE_UNRELATED_CONTROL_VERTICAL), 0, 0, On 2017/05/31 05:45:46, Peter Kasting wrote: ...
3 years, 6 months ago (2017-05-31 05:54:27 UTC) #33
Peter Kasting
LGTM
3 years, 6 months ago (2017-05-31 06:16:53 UTC) #34
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/2908963002/170001
3 years, 6 months ago (2017-05-31 06:55:31 UTC) #38
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 06:59:43 UTC) #41
Message was sent while issue was closed.
Committed patchset #8 (id:170001) as
https://chromium.googlesource.com/chromium/src/+/f9f292034311121b7777645eb485...

Powered by Google App Engine
This is Rietveld 408576698