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

Issue 2834493007: MacViews: Allows the toolkit-views Zoom Dialog to be used (Closed)

Created:
3 years, 8 months ago by varkha
Modified:
3 years, 8 months ago
Reviewers:
msw, Elly Fong-Jones
CC:
chromium-reviews, tfarina, mac-reviews_chromium.org, tapted
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Allows the toolkit-views Zoom Dialog to be used Updates Mac tests to test both views and Cocoa versions of the Zoom Bubble. BUG=662128, 177940 TEST=browser_tests --gtest_filter=*ZoomDecorationTest* unit_tests --gtest_filter=*ZoomDecorationTest* Review-Url: https://codereview.chromium.org/2834493007 Cr-Commit-Position: refs/heads/master@{#467508} Committed: https://chromium.googlesource.com/chromium/src/+/948625158c31a467a776ca18e58d470a1c62565d

Patch Set 1 : MacViews: Allows the toolkit-views Zoom Dialog to be used #

Patch Set 2 : MacViews: Allows the toolkit-views Zoom Dialog to be used (tests) #

Total comments: 21

Patch Set 3 : MacViews: Allows the toolkit-views Zoom Dialog to be used (comments) #

Total comments: 6

Patch Set 4 : MacViews: Allows the toolkit-views Zoom Dialog to be used (keep anchoring) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -48 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser_dialogs.h View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/zoom_decoration.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/zoom_decoration.mm View 1 2 9 chunks +54 lines, -10 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm View 1 2 7 chunks +23 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/zoom_decoration_unittest.mm View 1 2 3 chunks +29 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/browser_dialogs_views_mac.cc View 1 2 3 2 chunks +26 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_bubble_view.h View 1 2 4 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_bubble_view.cc View 1 2 3 10 chunks +35 lines, -18 lines 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc View 4 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_view.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 54 (44 generated)
varkha
msw@, can you please take a first look at the views Zoom Bubble on MacOS ...
3 years, 8 months ago (2017-04-24 07:14:40 UTC) #23
varkha
https://codereview.chromium.org/2834493007/diff/120001/chrome/browser/ui/cocoa/location_bar/zoom_decoration.mm File chrome/browser/ui/cocoa/location_bar/zoom_decoration.mm (right): https://codereview.chromium.org/2834493007/diff/120001/chrome/browser/ui/cocoa/location_bar/zoom_decoration.mm#newcode187 chrome/browser/ui/cocoa/location_bar/zoom_decoration.mm:187: BOOL auto_close = !ui::MaterialDesignController::IsSecondaryUiMaterial(); Note: prefer this to inlining ...
3 years, 8 months ago (2017-04-24 12:59:37 UTC) #27
msw
Trent or someone else should review the Cocoa changes too. https://codereview.chromium.org/2834493007/diff/120001/chrome/browser/ui/browser_dialogs.h File chrome/browser/ui/browser_dialogs.h (right): https://codereview.chromium.org/2834493007/diff/120001/chrome/browser/ui/browser_dialogs.h#newcode136 ...
3 years, 8 months ago (2017-04-24 18:53:39 UTC) #28
varkha
> Trent or someone else should review the Cocoa changes too. +ellyjones@, can you please ...
3 years, 8 months ago (2017-04-26 04:52:59 UTC) #31
Elly Fong-Jones
lgtm with two questions https://codereview.chromium.org/2834493007/diff/160001/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm File chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm (right): https://codereview.chromium.org/2834493007/diff/160001/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm#newcode184 chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm:184: INSTANTIATE_TEST_CASE_P(, ZoomDecorationTest, testing::Bool()); Ooh, this ...
3 years, 8 months ago (2017-04-26 13:11:13 UTC) #41
varkha
Thanks, good eye! https://codereview.chromium.org/2834493007/diff/160001/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm File chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm (right): https://codereview.chromium.org/2834493007/diff/160001/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm#newcode184 chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm:184: INSTANTIATE_TEST_CASE_P(, ZoomDecorationTest, testing::Bool()); On 2017/04/26 13:11:13, ...
3 years, 8 months ago (2017-04-26 13:32:51 UTC) #44
varkha
FYI - https://codereview.chromium.org/2845593002 has a draft for adding +/- buttons and a single-row layout.
3 years, 8 months ago (2017-04-26 13:55:45 UTC) #45
msw
lgtm
3 years, 8 months ago (2017-04-26 21:47:21 UTC) #48
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/2834493007/180001
3 years, 8 months ago (2017-04-26 23:25:21 UTC) #51
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 23:37:23 UTC) #54
Message was sent while issue was closed.
Committed patchset #4 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/948625158c31a467a776ca18e58d...

Powered by Google App Engine
This is Rietveld 408576698