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

Unified Diff: ppapi/proxy/plugin_dispatcher.cc

Issue 7053022: Use the WebKit default fonts when specifying generic font families. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: ppapi/proxy/plugin_dispatcher.cc
===================================================================
--- ppapi/proxy/plugin_dispatcher.cc (revision 86427)
+++ ppapi/proxy/plugin_dispatcher.cc (working copy)
@@ -20,6 +20,7 @@
#include "ppapi/proxy/ppb_font_proxy.h"
#include "ppapi/proxy/ppp_class_proxy.h"
#include "ppapi/proxy/resource_creation_proxy.h"
+#include "ppapi/shared_impl/ppapi_preferences.h"
yzshen1 2011/05/25 23:40:11 [minor] You may not need it since it has been incl
#include "ppapi/shared_impl/tracker_base.h"
#if defined(OS_POSIX)
@@ -122,6 +123,7 @@
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(PluginDispatcher, msg)
IPC_MESSAGE_HANDLER(PpapiMsg_SupportsInterface, OnMsgSupportsInterface)
+ IPC_MESSAGE_HANDLER(PpapiMsg_SetPreferences, OnMsgSetPreferences)
IPC_END_MESSAGE_MAP()
return handled;
}
@@ -274,6 +276,10 @@
*result = true;
}
+void PluginDispatcher::OnMsgSetPreferences(const ::ppapi::Preferences& prefs) {
+ preferences_ = prefs;
+}
+
} // namespace proxy
} // namespace pp

Powered by Google App Engine
This is Rietveld 408576698