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

Unified Diff: content/renderer/render_view_impl.cc

Issue 388583002: Remove RenderViewObserver::ZoomLevelChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/renderer/render_view_observer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 44bacadc7560bdecf8bc389ba02da93ba067e479..55261b12fc8a76fce7d6688172b08f4ae6b1e496 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -3943,8 +3943,6 @@ void RenderViewImpl::zoomLimitsChanged(double minimum_level,
void RenderViewImpl::zoomLevelChanged() {
Ilya Sherman 2014/07/11 19:19:44 Just to confirm: Is this method still called in so
double zoom_level = webview()->zoomLevel();
- FOR_EACH_OBSERVER(RenderViewObserver, observers_, ZoomLevelChanged());
-
// Do not send empty URLs to the browser when we are just setting the default
// zoom level (from RendererPreferences) before the first navigation.
if (!webview()->mainFrame()->document().url().isEmpty()) {
« no previous file with comments | « content/public/renderer/render_view_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698