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

Side by Side Diff: content/renderer/pepper/renderer_ppapi_host_impl.h

Issue 1154613006: Update pepper to not assume that SharedMemoryHandle is an int. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another nits pass. Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/renderer/renderer_ppapi_host.h" 10 #include "content/public/renderer/renderer_ppapi_host.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 blink::WebPluginContainer* GetContainerForInstance( 84 blink::WebPluginContainer* GetContainerForInstance(
85 PP_Instance instance) const override; 85 PP_Instance instance) const override;
86 base::ProcessId GetPluginPID() const override; 86 base::ProcessId GetPluginPID() const override;
87 bool HasUserGesture(PP_Instance instance) const override; 87 bool HasUserGesture(PP_Instance instance) const override;
88 int GetRoutingIDForWidget(PP_Instance instance) const override; 88 int GetRoutingIDForWidget(PP_Instance instance) const override;
89 gfx::Point PluginPointToRenderFrame(PP_Instance instance, 89 gfx::Point PluginPointToRenderFrame(PP_Instance instance,
90 const gfx::Point& pt) const override; 90 const gfx::Point& pt) const override;
91 IPC::PlatformFileForTransit ShareHandleWithRemote( 91 IPC::PlatformFileForTransit ShareHandleWithRemote(
92 base::PlatformFile handle, 92 base::PlatformFile handle,
93 bool should_close_source) override; 93 bool should_close_source) override;
94 base::SharedMemoryHandle ShareSharedMemoryHandleWithRemote(
95 const base::SharedMemoryHandle& handle) override;
94 bool IsRunningInProcess() const override; 96 bool IsRunningInProcess() const override;
95 std::string GetPluginName() const override; 97 std::string GetPluginName() const override;
96 void SetToExternalPluginHost() override; 98 void SetToExternalPluginHost() override;
97 void CreateBrowserResourceHosts( 99 void CreateBrowserResourceHosts(
98 PP_Instance instance, 100 PP_Instance instance,
99 const std::vector<IPC::Message>& nested_msgs, 101 const std::vector<IPC::Message>& nested_msgs,
100 const base::Callback<void(const std::vector<int>&)>& callback) 102 const base::Callback<void(const std::vector<int>&)>& callback)
101 const override; 103 const override;
102 GURL GetDocumentURL(PP_Instance pp_instance) const override; 104 GURL GetDocumentURL(PP_Instance pp_instance) const override;
103 105
(...skipping 28 matching lines...) Expand all
132 134
133 // Whether this is a host for external plugins. 135 // Whether this is a host for external plugins.
134 bool is_external_plugin_host_; 136 bool is_external_plugin_host_;
135 137
136 DISALLOW_COPY_AND_ASSIGN(RendererPpapiHostImpl); 138 DISALLOW_COPY_AND_ASSIGN(RendererPpapiHostImpl);
137 }; 139 };
138 140
139 } // namespace content 141 } // namespace content
140 142
141 #endif // CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ 143 #endif // CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698