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

Issue 954923005: Make command-zero reset page scale in addition to zoom level (Closed)

Created:
5 years, 10 months ago by ccameron
Modified:
5 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make command-zero reset page scale in addition to zoom level BUG=456880 Committed: https://crrev.com/b7c1d6c4dc447a2faf7dbc7981917b482219d58b Cr-Commit-Position: refs/heads/master@{#319658}

Patch Set 1 #

Patch Set 2 : Fix unit tests #

Total comments: 3

Patch Set 3 : Track whether or not zoom level is one #

Patch Set 4 : Add "page scale is one" setting #

Patch Set 5 : Tests without layering violation #

Patch Set 6 : Remove content/test changes #

Patch Set 7 : Rebase #

Patch Set 8 : Simplify notification #

Patch Set 9 : Rebase again again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -19 lines) Patch
M chrome/browser/browser_commands_unittest.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -7 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_commands.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_commands.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/ui/zoom/page_zoom.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/ui/zoom/zoom_controller.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M components/ui/zoom/zoom_controller.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M content/browser/host_zoom_map_impl.h View 1 2 3 4 4 chunks +14 lines, -2 lines 0 comments Download
M content/browser/host_zoom_map_impl.cc View 1 2 3 4 5 6 7 3 chunks +41 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 2 chunks +7 lines, -0 lines 0 comments Download
M content/public/browser/host_zoom_map.h View 1 2 3 4 5 6 7 3 chunks +17 lines, -5 lines 0 comments Download
M content/public/browser/web_contents.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 3 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +20 lines, -1 line 0 comments Download

Messages

Total messages: 82 (55 generated)
ccameron
Now that we have pinch-zoom on Mac, requests (see bug) have started coming in to ...
5 years, 10 months ago (2015-02-26 01:31:20 UTC) #3
wjmaclean
lgtm This approach seems fine to me. It would be good to devise some way ...
5 years, 10 months ago (2015-02-26 16:10:37 UTC) #4
ccameron
Thanks! Updated the unit tests to make sure the IDC is no longer ignored. avi@, ...
5 years, 10 months ago (2015-02-26 20:04:54 UTC) #6
Avi (use Gerrit)
https://codereview.chromium.org/954923005/diff/20001/chrome/browser/ui/browser_command_controller.cc File chrome/browser/ui/browser_command_controller.cc (right): https://codereview.chromium.org/954923005/diff/20001/chrome/browser/ui/browser_command_controller.cc#newcode1148 chrome/browser/ui/browser_command_controller.cc:1148: command_updater_.UpdateCommandEnabled(IDC_ZOOM_NORMAL, true); Can we have it be enabled only ...
5 years, 10 months ago (2015-02-26 20:16:58 UTC) #7
ccameron
https://codereview.chromium.org/954923005/diff/20001/chrome/browser/ui/browser_command_controller.cc File chrome/browser/ui/browser_command_controller.cc (right): https://codereview.chromium.org/954923005/diff/20001/chrome/browser/ui/browser_command_controller.cc#newcode1148 chrome/browser/ui/browser_command_controller.cc:1148: command_updater_.UpdateCommandEnabled(IDC_ZOOM_NORMAL, true); On 2015/02/26 20:16:58, Avi wrote: > Can ...
5 years, 10 months ago (2015-02-26 20:23:07 UTC) #8
Avi (use Gerrit)
On 2015/02/26 20:23:07, ccameron wrote: > https://codereview.chromium.org/954923005/diff/20001/chrome/browser/ui/browser_command_controller.cc > File chrome/browser/ui/browser_command_controller.cc (right): > > https://codereview.chromium.org/954923005/diff/20001/chrome/browser/ui/browser_command_controller.cc#newcode1148 > ...
5 years, 10 months ago (2015-02-26 20:24:47 UTC) #9
Nico
https://codereview.chromium.org/954923005/diff/20001/chrome/browser/ui/browser_command_controller.cc File chrome/browser/ui/browser_command_controller.cc (right): https://codereview.chromium.org/954923005/diff/20001/chrome/browser/ui/browser_command_controller.cc#newcode1148 chrome/browser/ui/browser_command_controller.cc:1148: command_updater_.UpdateCommandEnabled(IDC_ZOOM_NORMAL, true); On 2015/02/26 20:23:06, ccameron wrote: > On ...
5 years, 10 months ago (2015-02-26 20:35:22 UTC) #10
ccameron
Added the necessary plumbing and tests.
5 years, 9 months ago (2015-02-28 02:35:40 UTC) #11
Avi (use Gerrit)
Ooooooh. Sweeeet. Thanks! LGTM
5 years, 9 months ago (2015-02-28 03:21:41 UTC) #12
ccameron
post-weekend ping. Btw, there is a small Blink side to this: https://codereview.chromium.org/971813002 Once the Chromium ...
5 years, 9 months ago (2015-03-02 18:24:10 UTC) #13
ccameron
Ping for thakis@ for chrome/ OWNER
5 years, 9 months ago (2015-03-03 18:25:28 UTC) #14
Nico
chrome lgtm, nice. (sorry, wasn't aware you were waiting for me)
5 years, 9 months ago (2015-03-03 18:49:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/954923005/120001
5 years, 9 months ago (2015-03-04 19:16:32 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/47279)
5 years, 9 months ago (2015-03-04 19:44:23 UTC) #20
ccameron
Adding jschuh for _messages OWNER stamp.
5 years, 9 months ago (2015-03-04 21:39:41 UTC) #22
jschuh
ipc security lgtm (notes: browser->renderer & renderer->broswer boolean state transition)
5 years, 9 months ago (2015-03-04 22:04:17 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/954923005/120001
5 years, 9 months ago (2015-03-04 22:17:02 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_rel_tests_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_rel_tests_recipe/builds/8634)
5 years, 9 months ago (2015-03-05 04:46:22 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/954923005/120001
5 years, 9 months ago (2015-03-05 07:47:50 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: android_rel_tests_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_rel_tests_recipe/builds/8827)
5 years, 9 months ago (2015-03-05 13:38:47 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/954923005/710001
5 years, 9 months ago (2015-03-09 06:19:01 UTC) #69
commit-bot: I haz the power
Failed to apply the patch.
5 years, 9 months ago (2015-03-09 06:22:35 UTC) #71
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/954923005/730001
5 years, 9 months ago (2015-03-09 07:17:14 UTC) #75
commit-bot: I haz the power
Failed to apply the patch.
5 years, 9 months ago (2015-03-09 07:35:59 UTC) #77
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/954923005/730001
5 years, 9 months ago (2015-03-09 17:07:04 UTC) #80
commit-bot: I haz the power
Committed patchset #9 (id:730001)
5 years, 9 months ago (2015-03-09 17:08:35 UTC) #81
commit-bot: I haz the power
5 years, 9 months ago (2015-03-09 17:10:13 UTC) #82
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/b7c1d6c4dc447a2faf7dbc7981917b482219d58b
Cr-Commit-Position: refs/heads/master@{#319658}

Powered by Google App Engine
This is Rietveld 408576698