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

Unified Diff: content/browser/renderer_host/pepper/pepper_message_filter.h

Issue 10795051: Implement asynchronous interface/plumbing for GetDefaultPrintSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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: content/browser/renderer_host/pepper/pepper_message_filter.h
diff --git a/content/browser/renderer_host/pepper/pepper_message_filter.h b/content/browser/renderer_host/pepper/pepper_message_filter.h
index 4ea0a4270e6d2b55aa0765b0ae630d9bcd65feeb..03236d603372caf4207ddaa8479cd21072ecfca1 100644
--- a/content/browser/renderer_host/pepper/pepper_message_filter.h
+++ b/content/browser/renderer_host/pepper/pepper_message_filter.h
@@ -21,6 +21,7 @@
#include "net/base/net_util.h"
#include "net/base/ssl_config_service.h"
#include "net/socket/stream_socket.h"
+#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_stdint.h"
#include "ppapi/host/ppapi_host.h"
@@ -31,6 +32,7 @@ class PepperTCPSocket;
class PepperUDPSocket;
struct PP_HostResolver_Private_Hint;
struct PP_NetAddress_Private;
+struct PP_PrintSettings_Dev;
namespace base {
class ListValue;
@@ -220,6 +222,9 @@ class PepperMessageFilter
void OnGetDeviceID(std::string* id);
void OnGetDeviceIDAsync(int32_t routing_id, PP_Resource resource);
+ // Gets the default print settings and sends them to the plugin process.
+ void OnGetDefaultPrintSettings(int32 routing_id, PP_Instance instance);
+
// Callback when the font list has been retrieved on a background thread.
void GetFontFamiliesComplete(IPC::Message* reply_msg,
scoped_ptr<base::ListValue> result);

Powered by Google App Engine
This is Rietveld 408576698