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

Issue 12286006: [Mac] Implement the basic zoom bubble. (Closed)

Created:
7 years, 10 months ago by Robert Sesek
Modified:
7 years, 10 months ago
Reviewers:
sail, sky
CC:
chromium-reviews, sail+watch_chromium.org
Visibility:
Public.

Description

[Mac] Implement the basic zoom bubble. The bubble can be opened in response to a click on the zoom decoration in the Omnibox, or when the page zoom changes and it is opened automatically. In the second case, it is dismissed automatically after a fixed period of time. BUG=128817 TEST=Zoom a web page in or out. A zoom icon appears in the Omnibox. Clicking it opens the bubble.128817 TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183284

Patch Set 1 #

Total comments: 33

Patch Set 2 : Address comments #

Patch Set 3 : Auto-close bubble #

Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -20 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +10 lines, -3 lines 0 comments Download
A chrome/browser/ui/cocoa/browser/zoom_bubble_controller.h View 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm View 1 1 chunk +138 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/browser/zoom_bubble_controller_unittest.mm View 1 1 chunk +62 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 2 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/zoom_decoration.h View 1 2 1 chunk +15 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/zoom_decoration.mm View 1 2 3 chunks +55 lines, -6 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Robert Sesek
Screen shot: http://cl.ly/image/39041r3v0f1y
7 years, 10 months ago (2013-02-15 19:33:22 UTC) #1
sail
Looks really good. Thanks for taking this on. https://codereview.chromium.org/12286006/diff/1/chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm File chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm (right): https://codereview.chromium.org/12286006/diff/1/chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm#newcode18 chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm:18: - ...
7 years, 10 months ago (2013-02-15 21:05:12 UTC) #2
Robert Sesek
New screen shot: http://cl.ly/image/1w2k261a3x3M https://codereview.chromium.org/12286006/diff/1/chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm File chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm (right): https://codereview.chromium.org/12286006/diff/1/chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm#newcode18 chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm:18: - (void)performLayout; On 2013/02/15 21:05:12, ...
7 years, 10 months ago (2013-02-15 21:39:20 UTC) #3
sail
LGTM! One small nit. I think having a fixed width window doesn't look good. I ...
7 years, 10 months ago (2013-02-15 21:58:20 UTC) #4
Robert Sesek
On 2013/02/15 21:58:20, sail wrote: > LGTM! > > One small nit. I think having ...
7 years, 10 months ago (2013-02-19 17:29:05 UTC) #5
Robert Sesek
Actually, PTAL. Implementing the auto-open logic is trivial, so I've rolled it into this.
7 years, 10 months ago (2013-02-19 17:56:56 UTC) #6
sail
second LGTM
7 years, 10 months ago (2013-02-19 18:11:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/12286006/11001
7 years, 10 months ago (2013-02-19 18:36:57 UTC) #8
commit-bot: I haz the power
Presubmit check for 12286006-11001 failed and returned exit status 1. INFO:root:Found 9 file(s). Running presubmit ...
7 years, 10 months ago (2013-02-19 18:37:02 UTC) #9
Robert Sesek
+sky for gyp OWNERS
7 years, 10 months ago (2013-02-19 18:49:58 UTC) #10
sail
On 2013/02/19 18:49:58, rsesek wrote: > +sky for gyp OWNERS FYI Trivial gyp changes can ...
7 years, 10 months ago (2013-02-19 18:50:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/12286006/11001
7 years, 10 months ago (2013-02-19 18:55:56 UTC) #12
commit-bot: I haz the power
7 years, 10 months ago (2013-02-19 20:55:41 UTC) #13
Message was sent while issue was closed.
Change committed as 183284

Powered by Google App Engine
This is Rietveld 408576698