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

Unified Diff: chrome/common/plugin_messages.h

Issue 3133: Desynchronize windowless plugin painting. This greatly improves the painting... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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 | chrome/common/plugin_messages_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/plugin_messages.h
===================================================================
--- chrome/common/plugin_messages.h (revision 2353)
+++ chrome/common/plugin_messages.h (working copy)
@@ -57,18 +57,6 @@
HANDLE notify_data;
};
-struct PluginMsg_Paint_Params {
- gfx::Size size;
- gfx::Rect clip_rect;
- gfx::Rect damaged_rect;
-
- // Bitmap's bits.
- HANDLE shared_memory;
-
- // Information about the world transform (see GetWorldTransform).
- XFORM xf;
-};
-
struct PluginMsg_PrintResponse_Params {
HANDLE shared_memory;
size_t size;
@@ -249,39 +237,6 @@
};
template <>
-struct ParamTraits<PluginMsg_Paint_Params> {
- typedef PluginMsg_Paint_Params param_type;
- static void Write(Message* m, const param_type& p) {
- WriteParam(m, p.size);
- WriteParam(m, p.clip_rect);
- WriteParam(m, p.damaged_rect);
- WriteParam(m, p.shared_memory);
- WriteParam(m, p.xf);
- }
- static bool Read(const Message* m, void** iter, param_type* r) {
- return
- ReadParam(m, iter, &r->size) &&
- ReadParam(m, iter, &r->clip_rect) &&
- ReadParam(m, iter, &r->damaged_rect) &&
- ReadParam(m, iter, &r->shared_memory) &&
- ReadParam(m, iter, &r->xf);
- }
- static void Log(const param_type& p, std::wstring* l) {
- l->append(L"(");
- LogParam(p.size, l);
- l->append(L", ");
- LogParam(p.clip_rect, l);
- l->append(L", ");
- LogParam(p.damaged_rect, l);
- l->append(L", ");
- LogParam(p.shared_memory, l);
- l->append(L", ");
- LogParam(p.xf, l);
- l->append(L")");
- }
-};
-
-template <>
struct ParamTraits<PluginMsg_PrintResponse_Params> {
typedef PluginMsg_PrintResponse_Params param_type;
static void Write(Message* m, const param_type& p) {
« no previous file with comments | « no previous file | chrome/common/plugin_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698