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

Unified Diff: chrome/common/render_messages.h

Issue 118359: Don't call NPP_SetWindow before we have the plugin geometry. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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
Index: chrome/common/render_messages.h
===================================================================
--- chrome/common/render_messages.h (revision 17918)
+++ chrome/common/render_messages.h (working copy)
@@ -936,6 +936,7 @@
WriteParam(m, p.window_rect);
WriteParam(m, p.clip_rect);
WriteParam(m, p.cutout_rects);
+ WriteParam(m, p.rects_valid);
WriteParam(m, p.visible);
}
static bool Read(const Message* m, void** iter, param_type* p) {
@@ -944,6 +945,7 @@
ReadParam(m, iter, &p->window_rect) &&
ReadParam(m, iter, &p->clip_rect) &&
ReadParam(m, iter, &p->cutout_rects) &&
+ ReadParam(m, iter, &p->rects_valid) &&
ReadParam(m, iter, &p->visible);
}
static void Log(const param_type& p, std::wstring* l) {
@@ -956,6 +958,8 @@
l->append(L", ");
LogParam(p.cutout_rects, l);
l->append(L", ");
+ LogParam(p.rects_valid, l);
+ l->append(L", ");
LogParam(p.visible, l);
l->append(L")");
}
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_win.cc ('k') | webkit/glue/plugins/webplugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698