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

Unified Diff: content/renderer/render_widget.h

Issue 16048003: Fix race between DPI and window size (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove semicolon Created 7 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 | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index bfe776ebf677cc40630129a11a7a1e9820e04b37..8a0825614e0fc498ce45edf6dccc248362271c04 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -38,6 +38,7 @@
#include "webkit/glue/webcursor.h"
struct ViewHostMsg_UpdateRect_Params;
+struct ViewMsg_Resize_Params;
class ViewHostMsg_UpdateRect;
namespace IPC {
@@ -298,11 +299,7 @@ class CONTENT_EXPORT RenderWidget
virtual void OnSetFocus(bool enable);
void OnClose();
void OnCreatingNewAck();
- virtual void OnResize(const gfx::Size& new_size,
- const gfx::Size& physical_backing_size,
- float overdraw_bottom_height,
- const gfx::Rect& resizer_rect,
- bool is_fullscreen);
+ virtual void OnResize(const ViewMsg_Resize_Params& params);
void OnChangeResizeRect(const gfx::Rect& resizer_rect);
virtual void OnWasHidden();
virtual void OnWasShown(bool needs_repainting);
@@ -327,7 +324,6 @@ class CONTENT_EXPORT RenderWidget
void OnSmoothScrollCompleted();
void OnSetTextDirection(WebKit::WebTextDirection direction);
void OnGetFPS();
- void OnScreenInfoChanged(const WebKit::WebScreenInfo& screen_info);
void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
const gfx::Rect& window_screen_rect);
#if defined(OS_ANDROID)
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698