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

Issue 1009193003: Make options zoom isolated, match embedder zoom on navigation. (Closed)

Created:
5 years, 9 months ago by wjmaclean
Modified:
5 years, 9 months ago
Reviewers:
Fady Samuel
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make options zoom isolated, match embedder zoom on navigation. At present, the initialization of the guest's zoom level in GuestViewBase::StartTrackingEmbedderZoomLevel() is ineffective since the guest web contents may not have navigated yet ... this occurs for example when embedding extension options pages in the settings- extensions page. Also, the extension options guest should place its guest into isolated zoom mode since changes to the zoom of settings-extensions page should not affect the zoom level of the associated extension. BUG=468397, 468404 Committed: https://crrev.com/d99eafdd721def5856d083d00008d9fcd3ea312a Cr-Commit-Position: refs/heads/master@{#322388}

Patch Set 1 #

Patch Set 2 : Don't DCHECK embedder zoom controller existence. #

Total comments: 2

Patch Set 3 : Improve comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -8 lines) Patch
M components/ui/zoom/zoom_controller.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/extension_options/extension_options_guest.cc View 1 chunk +11 lines, -3 lines 0 comments Download
M extensions/browser/guest_view/guest_view_base.h View 2 chunks +5 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/guest_view_base.cc View 1 2 5 chunks +30 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
wjmaclean
Please take a look and let me know if the approach looks reasonable.
5 years, 9 months ago (2015-03-25 15:13:09 UTC) #2
Fady Samuel
https://codereview.chromium.org/1009193003/diff/20001/extensions/browser/guest_view/guest_view_base.cc File extensions/browser/guest_view/guest_view_base.cc (right): https://codereview.chromium.org/1009193003/diff/20001/extensions/browser/guest_view/guest_view_base.cc#newcode239 extensions/browser/guest_view/guest_view_base.cc:239: // after the latter has handled WebContentsObserver events. I ...
5 years, 9 months ago (2015-03-25 21:07:16 UTC) #3
wjmaclean
https://codereview.chromium.org/1009193003/diff/20001/extensions/browser/guest_view/guest_view_base.cc File extensions/browser/guest_view/guest_view_base.cc (right): https://codereview.chromium.org/1009193003/diff/20001/extensions/browser/guest_view/guest_view_base.cc#newcode239 extensions/browser/guest_view/guest_view_base.cc:239: // after the latter has handled WebContentsObserver events. On ...
5 years, 9 months ago (2015-03-25 21:14:33 UTC) #4
Fady Samuel
On 2015/03/25 21:14:33, wjmaclean wrote: > https://codereview.chromium.org/1009193003/diff/20001/extensions/browser/guest_view/guest_view_base.cc > File extensions/browser/guest_view/guest_view_base.cc (right): > > https://codereview.chromium.org/1009193003/diff/20001/extensions/browser/guest_view/guest_view_base.cc#newcode239 > ...
5 years, 9 months ago (2015-03-26 02:43:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1009193003/60001
5 years, 9 months ago (2015-03-26 14:27:35 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 9 months ago (2015-03-26 15:27:31 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 15:28:01 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d99eafdd721def5856d083d00008d9fcd3ea312a
Cr-Commit-Position: refs/heads/master@{#322388}

Powered by Google App Engine
This is Rietveld 408576698