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

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

Issue 11419131: Refactor FileIO to the new design (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // happen automatically. 79 // happen automatically.
80 scoped_ptr< ::ppapi::thunk::ResourceCreationAPI> 80 scoped_ptr< ::ppapi::thunk::ResourceCreationAPI>
81 CreateInProcessResourceCreationAPI( 81 CreateInProcessResourceCreationAPI(
82 webkit::ppapi::PluginInstance* instance); 82 webkit::ppapi::PluginInstance* instance);
83 83
84 // RendererPpapiHost. 84 // RendererPpapiHost.
85 virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE; 85 virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE;
86 virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE; 86 virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE;
87 virtual webkit::ppapi::PluginInstance* GetPluginInstance( 87 virtual webkit::ppapi::PluginInstance* GetPluginInstance(
88 PP_Instance instance) const OVERRIDE; 88 PP_Instance instance) const OVERRIDE;
89 virtual webkit::ppapi::PluginDelegate* GetDelegateForInstance(
90 PP_Instance instance) const OVERRIDE;
89 virtual RenderView* GetRenderViewForInstance( 91 virtual RenderView* GetRenderViewForInstance(
90 PP_Instance instance) const OVERRIDE; 92 PP_Instance instance) const OVERRIDE;
91 virtual WebKit::WebPluginContainer* GetContainerForInstance( 93 virtual WebKit::WebPluginContainer* GetContainerForInstance(
92 PP_Instance instance) const OVERRIDE; 94 PP_Instance instance) const OVERRIDE;
93 virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE; 95 virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE;
94 virtual int GetRoutingIDForWidget(PP_Instance instance) const OVERRIDE; 96 virtual int GetRoutingIDForWidget(PP_Instance instance) const OVERRIDE;
95 virtual gfx::Point PluginPointToRenderView( 97 virtual gfx::Point PluginPointToRenderView(
96 PP_Instance instance, 98 PP_Instance instance,
97 const gfx::Point& pt) const OVERRIDE; 99 const gfx::Point& pt) const OVERRIDE;
98 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( 100 virtual IPC::PlatformFileForTransit ShareHandleWithRemote(
(...skipping 24 matching lines...) Expand all
123 125
124 // Null when running out-of-process. 126 // Null when running out-of-process.
125 scoped_ptr<PepperInProcessRouter> in_process_router_; 127 scoped_ptr<PepperInProcessRouter> in_process_router_;
126 128
127 DISALLOW_COPY_AND_ASSIGN(RendererPpapiHostImpl); 129 DISALLOW_COPY_AND_ASSIGN(RendererPpapiHostImpl);
128 }; 130 };
129 131
130 } // namespace content 132 } // namespace content
131 133
132 #endif // CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ 134 #endif // CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698