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

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

Issue 21966004: Pepper: Move FileRef to the "new" resource proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove code duplication Created 7 years, 4 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 | Annotate | Revision Log
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_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 } 343 }
344 344
345 ContentDecryptorDelegate* GetContentDecryptorDelegate(); 345 ContentDecryptorDelegate* GetContentDecryptorDelegate();
346 346
347 // PluginInstance implementation 347 // PluginInstance implementation
348 virtual RenderView* GetRenderView() OVERRIDE; 348 virtual RenderView* GetRenderView() OVERRIDE;
349 virtual WebKit::WebPluginContainer* GetContainer() OVERRIDE; 349 virtual WebKit::WebPluginContainer* GetContainer() OVERRIDE;
350 virtual ::ppapi::VarTracker* GetVarTracker() OVERRIDE; 350 virtual ::ppapi::VarTracker* GetVarTracker() OVERRIDE;
351 virtual const GURL& GetPluginURL() OVERRIDE; 351 virtual const GURL& GetPluginURL() OVERRIDE;
352 virtual base::FilePath GetModulePath() OVERRIDE; 352 virtual base::FilePath GetModulePath() OVERRIDE;
353 virtual PP_Resource CreateExternalFileReference(
354 const base::FilePath& external_file_path) OVERRIDE;
355 virtual PP_Resource CreateImage(gfx::ImageSkia* source_image, 353 virtual PP_Resource CreateImage(gfx::ImageSkia* source_image,
356 float scale) OVERRIDE; 354 float scale) OVERRIDE;
357 virtual PP_ExternalPluginResult SwitchToOutOfProcessProxy( 355 virtual PP_ExternalPluginResult SwitchToOutOfProcessProxy(
358 const base::FilePath& file_path, 356 const base::FilePath& file_path,
359 ::ppapi::PpapiPermissions permissions, 357 ::ppapi::PpapiPermissions permissions,
360 const IPC::ChannelHandle& channel_handle, 358 const IPC::ChannelHandle& channel_handle,
361 base::ProcessId plugin_pid, 359 base::ProcessId plugin_pid,
362 int plugin_child_id) OVERRIDE; 360 int plugin_child_id) OVERRIDE;
363 virtual void SetAlwaysOnTop(bool on_top) OVERRIDE; 361 virtual void SetAlwaysOnTop(bool on_top) OVERRIDE;
364 virtual bool IsFullPagePlugin() OVERRIDE; 362 virtual bool IsFullPagePlugin() OVERRIDE;
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 852
855 scoped_ptr<MouseLockDispatcher::LockTarget> lock_target_; 853 scoped_ptr<MouseLockDispatcher::LockTarget> lock_target_;
856 854
857 friend class PpapiPluginInstanceTest; 855 friend class PpapiPluginInstanceTest;
858 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 856 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
859 }; 857 };
860 858
861 } // namespace content 859 } // namespace content
862 860
863 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 861 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698