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

Issue 12039058: content: convert zoom notifications to observer usage (Closed)

Created:
7 years, 11 months ago by Paweł Hajdan Jr.
Modified:
7 years, 10 months ago
Reviewers:
Avi (use Gerrit), jam
CC:
chromium-reviews, joi+watch-content_chromium.org, tfarina, sail+watch_chromium.org, darin-cc_chromium.org, Dan Beam
Visibility:
Public.

Description

content: convert zoom notifications to callbacks BUG=170921 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181307

Patch Set 1 #

Total comments: 2

Patch Set 2 : fixes #

Patch Set 3 : callbacks #

Total comments: 11

Patch Set 4 : fixes #

Total comments: 2

Patch Set 5 : rebase & fix #

Patch Set 6 : rebase #

Patch Set 7 : trybots 1 #

Patch Set 8 : trybots 2 #

Patch Set 9 : trybots 3 #

Patch Set 10 : fix mac #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -213 lines) Patch
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 2 3 4 5 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 4 5 6 7 8 9 6 chunks +18 lines, -22 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +16 lines, -19 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +22 lines, -20 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +56 lines, -27 lines 0 comments Download
M chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.mm View 1 2 3 3 chunks +21 lines, -24 lines 0 comments Download
M chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller_unittest.mm View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/browser_toolbar_gtk.h View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/browser_toolbar_gtk.cc View 1 2 3 4 5 6 7 8 5 chunks +22 lines, -16 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc View 1 2 3 4 4 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.h View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 1 2 3 4 5 6 7 8 9 4 chunks +17 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/wrench_menu.cc View 1 2 3 4 5 6 7 5 chunks +15 lines, -12 lines 0 comments Download
M chrome/browser/ui/zoom/zoom_controller.h View 1 2 3 4 4 chunks +8 lines, -11 lines 0 comments Download
M chrome/browser/ui/zoom/zoom_controller.cc View 1 2 3 4 3 chunks +14 lines, -11 lines 0 comments Download
M chrome/browser/ui/zoom/zoom_controller_unittest.cc View 2 chunks +0 lines, -9 lines 0 comments Download
M content/browser/host_zoom_map_impl.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/host_zoom_map_impl.cc View 1 2 3 4 3 chunks +20 lines, -9 lines 0 comments Download
M content/public/browser/host_zoom_map.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M content/public/browser/notification_types.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Paweł Hajdan Jr.
7 years, 11 months ago (2013-01-24 01:24:17 UTC) #1
jam
https://codereview.chromium.org/12039058/diff/1/content/public/browser/host_zoom_map.h File content/public/browser/host_zoom_map.h (right): https://codereview.chromium.org/12039058/diff/1/content/public/browser/host_zoom_map.h#newcode29 content/public/browser/host_zoom_map.h:29: class Observer { nit: per c++ style guide, and ...
7 years, 11 months ago (2013-01-24 01:28:35 UTC) #2
tfarina
On Wed, Jan 23, 2013 at 11:28 PM, <jam@chromium.org> wrote: > > https://codereview.chromium.org/12039058/diff/1/content/public/browser/host_zoom_map.h > File ...
7 years, 11 months ago (2013-01-24 01:31:46 UTC) #3
Paweł Hajdan Jr.
https://codereview.chromium.org/12039058/diff/1/content/public/browser/host_zoom_map.h File content/public/browser/host_zoom_map.h (right): https://codereview.chromium.org/12039058/diff/1/content/public/browser/host_zoom_map.h#newcode29 content/public/browser/host_zoom_map.h:29: class Observer { On 2013/01/24 01:28:35, John Abd-El-Malek wrote: ...
7 years, 11 months ago (2013-01-24 19:42:38 UTC) #4
jam
looking at this more: since there's only one method in the interface, it seems this ...
7 years, 10 months ago (2013-01-28 18:10:51 UTC) #5
Paweł Hajdan Jr.
On 2013/01/28 18:10:51, John Abd-El-Malek wrote: > looking at this more: since there's only one ...
7 years, 10 months ago (2013-01-28 19:49:44 UTC) #6
Jói
On 2013/01/28 19:49:44, Paweł Hajdan Jr. wrote: > On 2013/01/28 18:10:51, John Abd-El-Malek wrote: > ...
7 years, 10 months ago (2013-01-30 11:12:02 UTC) #7
Paweł Hajdan Jr.
PTAL
7 years, 10 months ago (2013-01-30 13:57:12 UTC) #8
jam
https://codereview.chromium.org/12039058/diff/12001/chrome/browser/profiles/profile_impl.h File chrome/browser/profiles/profile_impl.h (right): https://codereview.chromium.org/12039058/diff/12001/chrome/browser/profiles/profile_impl.h#newcode133 chrome/browser/profiles/profile_impl.h:133: void OnZoomLevelChanged(const std::string& host); nit: private if you can. ...
7 years, 10 months ago (2013-01-30 17:50:44 UTC) #9
Paweł Hajdan Jr.
Thank you for review. PTAL. https://codereview.chromium.org/12039058/diff/12001/chrome/browser/ui/zoom/zoom_controller_unittest.cc File chrome/browser/ui/zoom/zoom_controller_unittest.cc (left): https://codereview.chromium.org/12039058/diff/12001/chrome/browser/ui/zoom/zoom_controller_unittest.cc#oldcode80 chrome/browser/ui/zoom/zoom_controller_unittest.cc:80: notification_observer.Wait(); On 2013/01/30 17:50:44, ...
7 years, 10 months ago (2013-01-31 16:02:15 UTC) #10
jam
lgtm with nit https://codereview.chromium.org/12039058/diff/12001/content/browser/host_zoom_map_impl.cc File content/browser/host_zoom_map_impl.cc (right): https://codereview.chromium.org/12039058/diff/12001/content/browser/host_zoom_map_impl.cc#newcode93 content/browser/host_zoom_map_impl.cc:93: for (std::vector<ZoomLevelChangedCallback>::iterator i = On 2013/01/31 ...
7 years, 10 months ago (2013-01-31 17:59:15 UTC) #11
Avi (use Gerrit)
NAK, NAK. https://codereview.chromium.org/12039058/diff/18001/chrome/browser/ui/zoom/zoom_controller.cc File chrome/browser/ui/zoom/zoom_controller.cc (right): https://codereview.chromium.org/12039058/diff/18001/chrome/browser/ui/zoom/zoom_controller.cc#newcode46 chrome/browser/ui/zoom/zoom_controller.cc:46: return; This looks like a very, very ...
7 years, 10 months ago (2013-01-31 18:46:55 UTC) #12
Paweł Hajdan Jr.
https://codereview.chromium.org/12039058/diff/18001/chrome/browser/ui/zoom/zoom_controller.cc File chrome/browser/ui/zoom/zoom_controller.cc (right): https://codereview.chromium.org/12039058/diff/18001/chrome/browser/ui/zoom/zoom_controller.cc#newcode46 chrome/browser/ui/zoom/zoom_controller.cc:46: return; On 2013/01/31 18:46:55, Avi wrote: > This looks ...
7 years, 10 months ago (2013-02-01 12:36:11 UTC) #13
Avi (use Gerrit)
7 years, 10 months ago (2013-02-01 15:45:37 UTC) #14
Nice! I'll go away now :) lgtm

Powered by Google App Engine
This is Rietveld 408576698