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

Issue 10792020: Implements the "Set to default" button on the zoom bubble. (Closed)

Created:
8 years, 5 months ago by Kyle Horimoto
Modified:
8 years, 4 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, Dan Beam
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Implements the "Set to default" button on the zoom bubble. BUG=128816 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149965

Patch Set 1 #

Patch Set 2 : Updated a comment. #

Total comments: 4

Patch Set 3 : Addressed tfarina's comments #

Total comments: 16

Patch Set 4 : Addressed pkastings' comments #

Patch Set 5 : Fixed mouse event issues, addressed pkasting comments #

Patch Set 6 : Added private helper functions to make code more readable #

Total comments: 24

Patch Set 7 : Addressed comments from pkasting #

Patch Set 8 : Removed .gitmodules, oops #

Total comments: 2

Patch Set 9 : Removed unused #include's #

Patch Set 10 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -40 lines) Patch
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_bubble_view.h View 1 2 3 4 5 6 2 chunks +29 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_bubble_view.cc View 1 2 3 4 5 6 7 8 6 chunks +82 lines, -25 lines 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_view.h View 1 2 3 4 5 6 3 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_view.cc View 1 2 3 4 5 6 3 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Kyle Horimoto
8 years, 5 months ago (2012-07-16 21:45:35 UTC) #1
tfarina
http://codereview.chromium.org/10792020/diff/2001/chrome/browser/ui/views/location_bar/zoom_bubble_view.h File chrome/browser/ui/views/location_bar/zoom_bubble_view.h (right): http://codereview.chromium.org/10792020/diff/2001/chrome/browser/ui/views/location_bar/zoom_bubble_view.h#newcode38 chrome/browser/ui/views/location_bar/zoom_bubble_view.h:38: // ButtonListener method. nit: views::ButtonListener http://codereview.chromium.org/10792020/diff/2001/chrome/browser/ui/views/location_bar/zoom_bubble_view.h#newcode39 chrome/browser/ui/views/location_bar/zoom_bubble_view.h:39: virtual void ...
8 years, 5 months ago (2012-07-17 05:57:51 UTC) #2
Peter Kasting
There are no mocks available on the bug. Can you post some screenshots, and if ...
8 years, 5 months ago (2012-07-17 06:45:06 UTC) #3
Kyle Horimoto
Oops, sorry pkasting. Uploaded the screenshot & mock to the bug report. http://codereview.chromium.org/10792020/diff/2001/chrome/browser/ui/views/location_bar/zoom_bubble_view.h File chrome/browser/ui/views/location_bar/zoom_bubble_view.h ...
8 years, 5 months ago (2012-07-17 18:26:23 UTC) #4
Peter Kasting
I added a few comments on the bug. I will also review this in a ...
8 years, 5 months ago (2012-07-17 23:14:08 UTC) #5
Peter Kasting
http://codereview.chromium.org/10792020/diff/6001/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/10792020/diff/6001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode98 chrome/browser/ui/views/location_bar/location_bar_view.cc:98: const TabContents* tab_contents = delegate->GetTabContents(); Nit: While you're touching ...
8 years, 5 months ago (2012-07-18 03:26:30 UTC) #6
Kyle Horimoto
Addressed all comments. However, there is one thing that is working incorrectly: when you mouse ...
8 years, 5 months ago (2012-07-18 23:49:38 UTC) #7
Peter Kasting
On 2012/07/18 23:49:38, Kyle Horimoto wrote: > when you mouse over the percentage label, padding, ...
8 years, 5 months ago (2012-07-19 03:02:38 UTC) #8
Kyle Horimoto
Comments inline. Additionally, I realized that passing the delegate rather than the actual TabContents is ...
8 years, 5 months ago (2012-07-23 21:54:07 UTC) #9
Kyle Horimoto
On 2012/07/23 21:54:07, Kyle Horimoto wrote: > Comments inline. Additionally, I realized that passing the ...
8 years, 5 months ago (2012-07-25 22:59:55 UTC) #10
Peter Kasting
http://codereview.chromium.org/10792020/diff/20001/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/10792020/diff/20001/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc#newcode9 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc:9: #include "chrome/common/pref_names.h" Nit: Alphabetical order http://codereview.chromium.org/10792020/diff/20001/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc#newcode24 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc:24: // The ...
8 years, 5 months ago (2012-07-26 01:36:13 UTC) #11
Kyle Horimoto
Sorry it took me forever to get this CL back to you. Addressed all your ...
8 years, 4 months ago (2012-08-03 03:33:29 UTC) #12
Peter Kasting
LGTM http://codereview.chromium.org/10792020/diff/28001/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/10792020/diff/28001/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc#newcode10 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc:10: #include "chrome/browser/prefs/pref_service.h" Nit: I think this is no ...
8 years, 4 months ago (2012-08-03 19:24:22 UTC) #13
Kyle Horimoto
http://codereview.chromium.org/10792020/diff/28001/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/10792020/diff/28001/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc#newcode10 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc:10: #include "chrome/browser/prefs/pref_service.h" On 2012/08/03 19:24:23, Peter Kasting wrote: > ...
8 years, 4 months ago (2012-08-03 22:20:44 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/10792020/30001
8 years, 4 months ago (2012-08-03 22:21:42 UTC) #15
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/views/location_bar/location_bar_view.cc: While running patch -p1 --forward --force; patching file chrome/browser/ui/views/location_bar/location_bar_view.cc ...
8 years, 4 months ago (2012-08-03 22:21:44 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/10792020/33001
8 years, 4 months ago (2012-08-03 22:26:14 UTC) #17
commit-bot: I haz the power
8 years, 4 months ago (2012-08-03 23:21:30 UTC) #18
Change committed as 149965

Powered by Google App Engine
This is Rietveld 408576698