summaryrefslogtreecommitdiffstats
path: root/components/ui_zoom.gypi
diff options
context:
space:
mode:
authorwjmaclean <wjmaclean@chromium.org>2015-02-04 08:14:22 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-04 16:15:03 +0000
commit70081cb1ac42234766c745dd6422b78ea4291cd2 (patch)
tree0c220c7778282c530792d11178c16bd4e2d41d0d /components/ui_zoom.gypi
parentbb4db81dcbbe045c9ed2a7d05662af06064a3884 (diff)
downloadchromium_src-70081cb1ac42234766c745dd6422b78ea4291cd2.zip
chromium_src-70081cb1ac42234766c745dd6422b78ea4291cd2.tar.gz
chromium_src-70081cb1ac42234766c745dd6422b78ea4291cd2.tar.bz2
Plumb default zoom level change events to zoom icon in location bar.
At present, a change in the default zoom level does not immediately update the zoom icon in the location bar. E.g. if we change the zoom level of chrome://settings to 90% (causing the zoom icon to display a '-' symbol), then change the default zoom level to be 75%, the icon should switch to show '+'. This CL adds an event subscription to the ZoomEventManager in order to receive notifications about default zoom level changes. BUG=451349 Review URL: https://codereview.chromium.org/897513003 Cr-Commit-Position: refs/heads/master@{#314568}
Diffstat (limited to 'components/ui_zoom.gypi')
-rw-r--r--components/ui_zoom.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/ui_zoom.gypi b/components/ui_zoom.gypi
index fc3ed76..15e988d 100644
--- a/components/ui_zoom.gypi
+++ b/components/ui_zoom.gypi
@@ -27,6 +27,7 @@
'ui/zoom/zoom_controller.h',
'ui/zoom/zoom_event_manager.cc',
'ui/zoom/zoom_event_manager.h',
+ 'ui/zoom/zoom_event_manager_observer.h',
'ui/zoom/zoom_observer.h'
],
}