summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_graphics_2d_proxy.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-13 04:18:44 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-13 04:18:44 +0000
commitbe0a84b5a8b1e4e801788fc5d4f42037a88f8c45 (patch)
tree4033971ac6f11af82464359f4f4e55015eb926f0 /ppapi/proxy/ppb_graphics_2d_proxy.h
parent5e6c226780eb1617aa9ed980c627af66685d52e4 (diff)
downloadchromium_src-be0a84b5a8b1e4e801788fc5d4f42037a88f8c45.zip
chromium_src-be0a84b5a8b1e4e801788fc5d4f42037a88f8c45.tar.gz
chromium_src-be0a84b5a8b1e4e801788fc5d4f42037a88f8c45.tar.bz2
Move host resource from the proxy to the shared_impl.
This is needed by my new unified resoruce tracker, which will use this file from the shared_impl in the new resource base object. I fixed up the namespaces for the callers. Longer term, I want to put the proxy in the ppapi namespace which will eliminate some of this mess. Review URL: http://codereview.chromium.org/7623018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96678 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_graphics_2d_proxy.h')
-rw-r--r--ppapi/proxy/ppb_graphics_2d_proxy.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/ppapi/proxy/ppb_graphics_2d_proxy.h b/ppapi/proxy/ppb_graphics_2d_proxy.h
index 9be7f83..77f0dd6 100644
--- a/ppapi/proxy/ppb_graphics_2d_proxy.h
+++ b/ppapi/proxy/ppb_graphics_2d_proxy.h
@@ -13,10 +13,10 @@
#include "ppapi/c/pp_size.h"
#include "ppapi/c/pp_var.h"
#include "ppapi/cpp/completion_callback.h"
-#include "ppapi/proxy/host_resource.h"
#include "ppapi/proxy/interface_proxy.h"
#include "ppapi/proxy/plugin_resource.h"
#include "ppapi/proxy/proxy_non_thread_safe_ref_count.h"
+#include "ppapi/shared_impl/host_resource.h"
struct PPB_Graphics2D;
struct PP_Point;
@@ -45,26 +45,26 @@ class PPB_Graphics2D_Proxy : public InterfaceProxy {
private:
// Plugin->renderer message handlers.
- void OnMsgPaintImageData(const HostResource& graphics_2d,
- const HostResource& image_data,
+ void OnMsgPaintImageData(const ppapi::HostResource& graphics_2d,
+ const ppapi::HostResource& image_data,
const PP_Point& top_left,
bool src_rect_specified,
const PP_Rect& src_rect);
- void OnMsgScroll(const HostResource& graphics_2d,
+ void OnMsgScroll(const ppapi::HostResource& graphics_2d,
bool clip_specified,
const PP_Rect& clip,
const PP_Point& amount);
- void OnMsgReplaceContents(const HostResource& graphics_2d,
- const HostResource& image_data);
- void OnMsgFlush(const HostResource& graphics_2d);
+ void OnMsgReplaceContents(const ppapi::HostResource& graphics_2d,
+ const ppapi::HostResource& image_data);
+ void OnMsgFlush(const ppapi::HostResource& graphics_2d);
// Renderer->plugin message handlers.
- void OnMsgFlushACK(const HostResource& graphics_2d,
+ void OnMsgFlushACK(const ppapi::HostResource& graphics_2d,
int32_t pp_error);
// Called in the renderer to send the given flush ACK to the plugin.
void SendFlushACKToPlugin(int32_t result,
- const HostResource& graphics_2d);
+ const ppapi::HostResource& graphics_2d);
CompletionCallbackFactory<PPB_Graphics2D_Proxy,
ProxyNonThreadSafeRefCount> callback_factory_;