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

Issue 2637006: Adds notification of when zoom level changes. I'm going to need this (Closed)

Created:
10 years, 6 months ago by sky
Modified:
9 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews
Visibility:
Public.

Description

Adds notification of when zoom level changes. I'm going to need this for the merged menu so that I can update the zoom level in the menu appropriately. BUG=45734 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49253

Patch Set 1 #

Total comments: 2

Patch Set 2 : url -> string #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M chrome/browser/host_zoom_map.cc View 1 2 chunks +6 lines, -0 lines 1 comment Download
M chrome/common/notification_type.h View 1 2 chunks +6 lines, -0 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
sky
10 years, 6 months ago (2010-06-07 20:41:32 UTC) #1
Peter Kasting
Perhaps the existing machinery that is notified of zoom changes should be converted to use ...
10 years, 6 months ago (2010-06-08 00:22:48 UTC) #2
sky
On Mon, Jun 7, 2010 at 5:22 PM, <pkasting@chromium.org> wrote: > Perhaps the existing machinery ...
10 years, 6 months ago (2010-06-08 00:27:41 UTC) #3
Peter Kasting
On Mon, Jun 7, 2010 at 5:27 PM, Scott Violet <sky@chromium.org> wrote: > On Mon, ...
10 years, 6 months ago (2010-06-08 00:31:21 UTC) #4
sky
On Mon, Jun 7, 2010 at 5:31 PM, Peter Kasting <pkasting@chromium.org> wrote: > On Mon, ...
10 years, 6 months ago (2010-06-08 17:13:07 UTC) #5
sky
Updated
10 years, 6 months ago (2010-06-08 17:45:29 UTC) #6
Peter Kasting
10 years, 6 months ago (2010-06-08 17:54:00 UTC) #7
LGTM

http://codereview.chromium.org/2637006/diff/8001/9001
File chrome/browser/host_zoom_map.cc (right):

http://codereview.chromium.org/2637006/diff/8001/9001#newcode85
chrome/browser/host_zoom_map.cc:85: details);
Nit: You can fit this on two lines

http://codereview.chromium.org/2637006/diff/8001/9002
File chrome/common/notification_type.h (right):

http://codereview.chromium.org/2637006/diff/8001/9002#newcode1022
chrome/common/notification_type.h:1022: // host as a std::string.
Nit: You should probably give more detail here as the "host" may be a spec for
URLs that don't have a host (e.g. file: URLs).  I'd make a reference to some
comments on this elsewhere (since we note this in a few places already).

Powered by Google App Engine
This is Rietveld 408576698