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

Unified Diff: content/ppapi_plugin/ppapi_thread.cc

Issue 7044012: Support getting the font list in Pepper. This currently only works out of (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
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.h ('k') | ppapi/c/dev/ppb_font_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/ppapi_plugin/ppapi_thread.cc
===================================================================
--- content/ppapi_plugin/ppapi_thread.cc (revision 85766)
+++ content/ppapi_plugin/ppapi_thread.cc (working copy)
@@ -96,6 +96,10 @@
webkit_thread_->PostTask(from_here, task);
}
+bool PpapiThread::SendToBrowser(IPC::Message* msg) {
+ return Send(msg);
+}
+
void PpapiThread::OnMsgLoadPlugin(const FilePath& path) {
base::ScopedNativeLibrary library(base::LoadNativeLibrary(path, NULL));
@@ -187,11 +191,12 @@
bool init_result = false;
if (is_broker_) {
BrokerProcessDispatcher* broker_dispatcher =
- new BrokerProcessDispatcher(host_process_handle, connect_instance_func_);
- init_result = broker_dispatcher->InitBrokerWithChannel(this,
- plugin_handle,
- false);
- dispatcher = broker_dispatcher;
+ new BrokerProcessDispatcher(host_process_handle,
+ connect_instance_func_);
+ init_result = broker_dispatcher->InitBrokerWithChannel(this,
+ plugin_handle,
+ false);
+ dispatcher = broker_dispatcher;
} else {
PluginProcessDispatcher* plugin_dispatcher =
new PluginProcessDispatcher(host_process_handle, get_plugin_interface_);
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.h ('k') | ppapi/c/dev/ppb_font_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698