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

Unified Diff: content/renderer/pepper/mock_renderer_ppapi_host.h

Issue 225903006: PPAPI: Run clang_format.py on content/renderer/pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 8 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/renderer/pepper/message_channel.cc ('k') | content/renderer/pepper/mock_renderer_ppapi_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/mock_renderer_ppapi_host.h
diff --git a/content/renderer/pepper/mock_renderer_ppapi_host.h b/content/renderer/pepper/mock_renderer_ppapi_host.h
index c9d282ac99eab1f521d95ac756e4e447e066ea3e..f1ebbbce63f007304c246ad0e24e7ba5b8d8855a 100644
--- a/content/renderer/pepper/mock_renderer_ppapi_host.h
+++ b/content/renderer/pepper/mock_renderer_ppapi_host.h
@@ -22,8 +22,7 @@ class MockRendererPpapiHost : public RendererPpapiHost {
public:
// This function takes the RenderView and instance that the mock resource
// host will be associated with.
- MockRendererPpapiHost(RenderView* render_view,
- PP_Instance instance);
+ MockRendererPpapiHost(RenderView* render_view, PP_Instance instance);
virtual ~MockRendererPpapiHost();
ppapi::proxy::ResourceMessageTestSink& sink() { return sink_; }
@@ -35,20 +34,20 @@ class MockRendererPpapiHost : public RendererPpapiHost {
// RendererPpapiHost.
virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE;
virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE;
- virtual PepperPluginInstance* GetPluginInstance(
- PP_Instance instance) const OVERRIDE;
- virtual RenderFrame* GetRenderFrameForInstance(
- PP_Instance instance) const OVERRIDE;
- virtual RenderView* GetRenderViewForInstance(
- PP_Instance instance) const OVERRIDE;
+ virtual PepperPluginInstance* GetPluginInstance(PP_Instance instance) const
+ OVERRIDE;
+ virtual RenderFrame* GetRenderFrameForInstance(PP_Instance instance) const
+ OVERRIDE;
+ virtual RenderView* GetRenderViewForInstance(PP_Instance instance) const
+ OVERRIDE;
virtual blink::WebPluginContainer* GetContainerForInstance(
PP_Instance instance) const OVERRIDE;
virtual base::ProcessId GetPluginPID() const OVERRIDE;
virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE;
virtual int GetRoutingIDForWidget(PP_Instance instance) const OVERRIDE;
- virtual gfx::Point PluginPointToRenderFrame(
- PP_Instance instance,
- const gfx::Point& pt) const OVERRIDE;
+ virtual gfx::Point PluginPointToRenderFrame(PP_Instance instance,
+ const gfx::Point& pt) const
+ OVERRIDE;
virtual IPC::PlatformFileForTransit ShareHandleWithRemote(
base::PlatformFile handle,
bool should_close_source) OVERRIDE;
@@ -56,8 +55,8 @@ class MockRendererPpapiHost : public RendererPpapiHost {
virtual void CreateBrowserResourceHosts(
PP_Instance instance,
const std::vector<IPC::Message>& nested_msgs,
- const base::Callback<void(
- const std::vector<int>&)>& callback) const OVERRIDE;
+ const base::Callback<void(const std::vector<int>&)>& callback) const
+ OVERRIDE;
virtual GURL GetDocumentURL(PP_Instance instance) const OVERRIDE;
private:
« no previous file with comments | « content/renderer/pepper/message_channel.cc ('k') | content/renderer/pepper/mock_renderer_ppapi_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698