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

Unified Diff: ppapi/proxy/ppapi_messages.h

Issue 4752008: Add proxies for some of the PDF & Flash functionality. There are still a few... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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: ppapi/proxy/ppapi_messages.h
===================================================================
--- ppapi/proxy/ppapi_messages.h (revision 65769)
+++ ppapi/proxy/ppapi_messages.h (working copy)
@@ -34,6 +34,11 @@
int32_t word_spacing;
};
+struct SerializedDirEntry {
+ std::string name;
+ bool is_dir;
+};
+
// Since there are so many parameters, DrawTextAt requires this separate
// structure. This includes everything but the font name. Because the font name
// is a var, it's much more convenient to use the normal way of passing a
@@ -50,6 +55,17 @@
PP_Bool image_data_is_opaque;
};
+struct PPBFlash_DrawGlyphs_Params {
+ PP_Resource pp_image_data;
+ SerializedFontDescription font_desc;
+ uint32_t color;
+ PP_Point position;
+ PP_Rect clip;
+ float transformation[3][3];
+ std::vector<uint16_t> glyph_indices;
+ std::vector<PP_Point> glyph_advances;
+};
+
} // namespace proxy
} // namespace pp

Powered by Google App Engine
This is Rietveld 408576698