summaryrefslogtreecommitdiffstats
path: root/components/ui
diff options
context:
space:
mode:
authorpaulmeyer <paulmeyer@chromium.org>2015-04-01 12:33:48 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-01 19:34:35 +0000
commit65703af8f934586ad67700ced9fa8483c0f849d7 (patch)
tree25c1721bc66583f92c6d3f7b9e1d6be53ee393d5 /components/ui
parent5872a39886df9e509a271acfa1d7944338c7eb48 (diff)
downloadchromium_src-65703af8f934586ad67700ced9fa8483c0f849d7.zip
chromium_src-65703af8f934586ad67700ced9fa8483c0f849d7.tar.gz
chromium_src-65703af8f934586ad67700ced9fa8483c0f849d7.tar.bz2
This CL exposes zoom modes to the <webview> API.
The new api is proposed here: https://docs.google.com/a/google.com/document/d/1hIexgq7HvYbqTp19HklW6DcKW-5sgocmnCqUHDKsYo0/edit?usp=sharing BUG=472674 Review URL: https://codereview.chromium.org/1047793003 Cr-Commit-Position: refs/heads/master@{#323300}
Diffstat (limited to 'components/ui')
-rw-r--r--components/ui/zoom/zoom_controller.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/ui/zoom/zoom_controller.h b/components/ui/zoom/zoom_controller.h
index ff78b86..0ea9f6b 100644
--- a/components/ui/zoom/zoom_controller.h
+++ b/components/ui/zoom/zoom_controller.h
@@ -57,8 +57,8 @@ class ZoomController : public content::WebContentsObserver,
// These zoom changes can be handled manually by listening for the
// |onZoomChange| event. Zooming in this mode is also on a per-tab basis.
ZOOM_MODE_MANUAL,
- // Disables all zooming in this tab. The tab will revert to default (100%)
- // zoom, and all attempted zoom changes will be ignored.
+ // Disables all zooming in this tab. The tab will revert to the default
+ // zoom level, and all attempted zoom changes will be ignored.
ZOOM_MODE_DISABLED,
};