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

Issue 10494004: Implements a zoom icon in the Omnibox for Views. (Closed)

Created:
8 years, 6 months ago by Kyle Horimoto
Modified:
8 years, 5 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Implements a zoom icon in the Omnibox for Views. BUG=128816 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145259

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressed comments #

Patch Set 3 : Rebased, added a check to remove the icon while typing in Omnibox #

Patch Set 4 : Fixed messed up indentation #

Total comments: 44

Patch Set 5 : Rebased #

Patch Set 6 : Fixed rebase issues #

Patch Set 7 : Addressed comments, improved code executed when a new bubble is opened when another already exists #

Total comments: 23

Patch Set 8 : Addressed pkasting's comments #

Patch Set 9 : Rebase & nit #

Total comments: 6

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -9 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 4 5 6 7 4 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 8 9 9 chunks +38 lines, -3 lines 0 comments Download
A chrome/browser/ui/views/location_bar/zoom_bubble_view.h View 1 2 3 4 5 6 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/location_bar/zoom_bubble_view.cc View 1 2 3 4 5 6 7 8 9 1 chunk +101 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/location_bar/zoom_view.h View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/location_bar/zoom_view.cc View 1 2 3 4 5 6 7 8 9 1 chunk +85 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Kyle Horimoto
8 years, 6 months ago (2012-06-02 00:02:41 UTC) #1
Ben Goodger (Google)
http://codereview.chromium.org/10494004/diff/1/chrome/browser/ui/gtk/zoom_bubble_gtk.cc File chrome/browser/ui/gtk/zoom_bubble_gtk.cc (right): http://codereview.chromium.org/10494004/diff/1/chrome/browser/ui/gtk/zoom_bubble_gtk.cc#newcode37 chrome/browser/ui/gtk/zoom_bubble_gtk.cc:37: int zoomPercent, bool autoclose) { leave http://codereview.chromium.org/10494004/diff/1/chrome/browser/ui/gtk/zoom_bubble_gtk.cc#newcode40 chrome/browser/ui/gtk/zoom_bubble_gtk.cc:40: g_bubble ...
8 years, 6 months ago (2012-06-04 15:16:49 UTC) #2
Kyle Horimoto
http://codereview.chromium.org/10494004/diff/1/chrome/browser/ui/gtk/zoom_bubble_gtk.cc File chrome/browser/ui/gtk/zoom_bubble_gtk.cc (right): http://codereview.chromium.org/10494004/diff/1/chrome/browser/ui/gtk/zoom_bubble_gtk.cc#newcode37 chrome/browser/ui/gtk/zoom_bubble_gtk.cc:37: int zoomPercent, bool autoclose) { On 2012/06/04 15:16:49, Ben ...
8 years, 6 months ago (2012-06-05 05:03:59 UTC) #3
Kyle Horimoto
bump - could I get a review on this, please? Thanks.
8 years, 6 months ago (2012-06-07 03:49:20 UTC) #4
Kyle Horimoto
bump - could I please get a review for this? Thanks!
8 years, 6 months ago (2012-06-18 17:24:28 UTC) #5
Kyle Horimoto
Hi Peter, Ben was previously reviewing this, but I think he's too busy at the ...
8 years, 6 months ago (2012-06-21 20:54:54 UTC) #6
Ben Goodger (Google)
http://codereview.chromium.org/10494004/diff/26002/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc File chrome/browser/ui/views/location_bar/zoom_bubble_view.cc (right): http://codereview.chromium.org/10494004/diff/26002/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc#newcode21 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc:21: // Singleton instance. // static http://codereview.chromium.org/10494004/diff/26002/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc#newcode58 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc:58: if (auto_close_) ...
8 years, 6 months ago (2012-06-22 19:16:05 UTC) #7
Peter Kasting
http://codereview.chromium.org/10494004/diff/26002/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): http://codereview.chromium.org/10494004/diff/26002/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode252 chrome/browser/ui/views/location_bar/location_bar_view.cc:252: zoom_view_ = new ZoomView(); This should appear in the ...
8 years, 6 months ago (2012-06-22 20:16:20 UTC) #8
Kyle Horimoto
Addressed comments - please take another look :) http://codereview.chromium.org/10494004/diff/26002/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): http://codereview.chromium.org/10494004/diff/26002/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode252 chrome/browser/ui/views/location_bar/location_bar_view.cc:252: zoom_view_ ...
8 years, 6 months ago (2012-06-26 21:55:53 UTC) #9
Peter Kasting
Most of the "move this" nits are just for ordering consistency, but the layout one ...
8 years, 5 months ago (2012-06-26 23:23:39 UTC) #10
Kyle Horimoto
http://codereview.chromium.org/10494004/diff/44001/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): http://codereview.chromium.org/10494004/diff/44001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode256 chrome/browser/ui/views/location_bar/location_bar_view.cc:256: zoom_view_ = new ZoomView(model_); On 2012/06/26 23:23:39, Peter Kasting ...
8 years, 5 months ago (2012-06-30 00:22:49 UTC) #11
Peter Kasting
http://codereview.chromium.org/10494004/diff/44001/chrome/browser/ui/views/location_bar/zoom_view.cc File chrome/browser/ui/views/location_bar/zoom_view.cc (right): http://codereview.chromium.org/10494004/diff/44001/chrome/browser/ui/views/location_bar/zoom_view.cc#newcode31 chrome/browser/ui/views/location_bar/zoom_view.cc:31: SetImageSize(size); On 2012/06/30 00:22:50, Kyle Horimoto wrote: > On ...
8 years, 5 months ago (2012-07-02 19:21:27 UTC) #12
Kyle Horimoto
http://codereview.chromium.org/10494004/diff/53008/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): http://codereview.chromium.org/10494004/diff/53008/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode669 chrome/browser/ui/views/location_bar/location_bar_view.cc:669: entry_width -= zoom_view_->GetPreferredSize().width() + GetItemPadding(); On 2012/07/02 19:21:27, Peter ...
8 years, 5 months ago (2012-07-02 21:09:02 UTC) #13
Peter Kasting
LGTM
8 years, 5 months ago (2012-07-02 23:25:09 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/khorimoto@chromium.org/10494004/61002
8 years, 5 months ago (2012-07-02 23:30:06 UTC) #15
commit-bot: I haz the power
Try job failure for 10494004-61002 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 5 months ago (2012-07-03 00:13:37 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/khorimoto@chromium.org/10494004/61002
8 years, 5 months ago (2012-07-03 03:36:58 UTC) #17
commit-bot: I haz the power
8 years, 5 months ago (2012-07-03 04:52:31 UTC) #18
Change committed as 145259

Powered by Google App Engine
This is Rietveld 408576698