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

Issue 437077: Remember zoom on a per-host basis.... (Closed)

Created:
11 years ago by Peter Kasting
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, ben+cc_chromium.org, jam, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Remember zoom on a per-host basis. BUG=567 TEST=Visit a page, zoom in or out, then navigate to a different host. The new page should not be zoomed. Go back, or restart, or open a new tab and navigate to the old page, and it should be zoomed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=33886

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Total comments: 42

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+405 lines, -101 lines) Patch
M chrome/browser/browser.h View 1 2 3 4 5 6 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/browser.cc View 1 2 3 4 5 6 4 chunks +11 lines, -17 lines 0 comments Download
M chrome/browser/browser_prefs.cc View 1 2 3 4 5 6 3 chunks +3 lines, -1 line 0 comments Download
A chrome/browser/host_zoom_map.h View 1 2 3 4 5 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/host_zoom_map.cc View 1 2 3 4 5 6 7 8 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.h View 1 2 3 4 5 6 5 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.cc View 1 2 3 4 5 6 4 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/profile.h View 1 2 3 4 5 6 4 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/profile.cc View 1 2 3 4 5 6 6 chunks +19 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/async_resource_handler.cc View 9 10 3 chunks +21 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.h View 1 2 3 4 5 6 6 chunks +10 lines, -20 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 1 2 3 4 5 6 6 chunks +30 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/common_param_traits.h View 3 4 5 6 2 chunks +34 lines, -10 lines 0 comments Download
M chrome/common/page_zoom.h View 1 2 3 4 5 6 1 chunk +7 lines, -7 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 2 chunks +5 lines, -1 line 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 5 6 3 chunks +24 lines, -2 lines 0 comments Download
M chrome/renderer/render_thread.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/render_thread.cc View 1 2 3 4 5 6 5 chunks +31 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.h View 1 2 3 4 5 6 4 chunks +7 lines, -1 line 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 5 6 7 8 9 5 chunks +38 lines, -22 lines 0 comments Download
M chrome/test/testing_profile.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M webkit/tools/test_shell/event_sending_controller.cc View 1 2 3 4 5 6 2 chunks +5 lines, -5 lines 0 comments Download
M webkit/tools/test_shell/layout_test_controller.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Peter Kasting
This requires the patch on https://bugs.webkit.org/show_bug.cgi?id=31893 as well. There are a couple places in the ...
11 years ago (2009-11-26 00:45:49 UTC) #1
Evan Martin
http://codereview.chromium.org/437077/diff/4001/4016 File chrome/browser/browser.cc (right): http://codereview.chromium.org/437077/diff/4001/4016#newcode1123 chrome/browser/browser.cc:1123: UserMetrics::RecordAction(kActions[zoom_function - PageZoom::ZOOM_OUT], see docs on this function for ...
11 years ago (2009-11-26 06:33:51 UTC) #2
darin (slow to review)
http://codereview.chromium.org/437077/diff/7001/8010 File chrome/browser/host_zoom_map.cc (right): http://codereview.chromium.org/437077/diff/7001/8010#newcode15 chrome/browser/host_zoom_map.cc:15: profile_->GetPrefs()->GetDictionary(prefs::kPerHostZoomLevels); is it true that the zoom levels seen ...
11 years ago (2009-12-02 00:02:28 UTC) #3
Peter Kasting
http://codereview.chromium.org/437077/diff/7001/8010 File chrome/browser/host_zoom_map.cc (right): http://codereview.chromium.org/437077/diff/7001/8010#newcode15 chrome/browser/host_zoom_map.cc:15: profile_->GetPrefs()->GetDictionary(prefs::kPerHostZoomLevels); On 2009/12/02 00:02:28, darin wrote: > is it ...
11 years ago (2009-12-02 02:21:27 UTC) #4
darin (slow to review)
On 2009/12/02 02:21:27, Peter Kasting wrote: > http://codereview.chromium.org/437077/diff/7001/8010 > File chrome/browser/host_zoom_map.cc (right): > > http://codereview.chromium.org/437077/diff/7001/8010#newcode15 ...
11 years ago (2009-12-03 21:52:24 UTC) #5
Peter Kasting
On 2009/12/03 21:52:24, darin wrote: > Are > you sure you can't move your logic ...
11 years ago (2009-12-03 23:19:41 UTC) #6
Peter Kasting
On 2009/12/03 23:19:41, Peter Kasting wrote: > Can we still reach DidFailProvisionalLoadWithError() after this point? ...
11 years ago (2009-12-03 23:52:26 UTC) #7
darin (slow to review)
11 years ago (2009-12-04 23:40:02 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698