|
|
Mac: Update zoom bubble UI
This CL updates the Mac zoom bubble UI. It makes the following change:
- add a zoom in and zoom out button
- if bubble is open don't hide the bubble or omnibox icon when zoom level is default
- reset auto close timer
- disable animation when showing bubble because user clicked on icon
- hide the zoom omnibox icon when user types in the omnibox
Screenshot: http://i.imgur.com/PjGBQvv.png
BUG= 177931, 177544, 178227
TEST=Opened a tab and zoomed in, verified that the bubble still opened. Clicked on the zoom icon. Pressed reset and verified that the bubble didn't close.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185301
Total comments: 2
Total comments: 2
Total comments: 20
Total comments: 8
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+572 lines, -103 lines) |
Patch |
 |
M |
chrome/app/generated_resources.grd
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser/zoom_bubble_controller.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+182 lines, -41 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/action_box_menu_bubble_controller.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+27 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/location_bar_view_mac_browsertest.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -42 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/cocoa/location_bar/mock_toolbar_model.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/cocoa/location_bar/mock_toolbar_model.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/zoom_decoration.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/zoom_decoration.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+30 lines, -9 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+116 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/zoom/zoom_controller.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/native_theme/native_theme.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/native_theme/native_theme_mac.h
|
View
|
1
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/native_theme/native_theme_mac.mm
|
View
|
1
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
Total messages: 26 (0 generated)
|