Index: chrome/browser/extensions/api/tabs/tabs_event_router.h |
diff --git a/chrome/browser/extensions/api/tabs/tabs_event_router.h b/chrome/browser/extensions/api/tabs/tabs_event_router.h |
index 461786a8a061da17e07149ff8e9b91d75d0800dc..e6c17d4dbe715cbb1bb8cff6a13b2e1fa7af642d 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_event_router.h |
+++ b/chrome/browser/extensions/api/tabs/tabs_event_router.h |
@@ -105,6 +105,12 @@ class TabsEventRouter : public TabStripModelObserver, |
content::WebContents* contents, |
scoped_ptr<base::DictionaryValue> changed_properties); |
+ // Dispatches an |onZoomChange| event when the tab |contents| is zoomed. |
+ void DispatchTabZoomChangeEvent(content::WebContents* contents, |
+ double old_zoom_factor, |
+ double new_zoom_factor, |
+ base::DictionaryValue* zoom_settings); |
+ |
// Register ourselves to receive the various notifications we are interested |
// in for a browser. |
void RegisterForBrowserNotifications(Browser* browser); |