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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 1078123002: Send resize event when the screen info changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: simpler Created 5 years, 7 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 | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 490be156247fa26254c9379c526e8022c4e90765..dc1a217132cc17804c10fe6a95c5330c59cb2203 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -175,11 +175,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
// Notification that the screen info has changed.
void NotifyScreenInfoChanged();
- // Invalidates the cached screen info so that next resize request
- // will carry the up to date screen info. Unlike
- // |NotifyScreenInfoChanged|, this doesn't send a message to the renderer.
- void InvalidateScreenInfo();
-
// Sets the View of this RenderWidgetHost.
void SetView(RenderWidgetHostViewBase* view);
@@ -725,14 +720,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
// True when waiting for RESIZE_ACK.
bool resize_ack_pending_;
- // Cached copy of the screen info so that it doesn't need to be updated every
- // time the window is resized.
- scoped_ptr<blink::WebScreenInfo> screen_info_;
-
- // Set if screen_info_ may have changed and should be recomputed and force a
- // resize message.
- bool screen_info_out_of_date_;
-
// The current size of the RenderWidget.
gfx::Size current_size_;
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698