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

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

Issue 23648014: cc: Move TextureMailbox::ReleaseCallback to SingleReleaseCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: releasecallback: SingleReleaseCallback Created 7 years, 3 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 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 // itself when making NPObject scripting calls to WebBindings. 497 // itself when making NPObject scripting calls to WebBindings.
498 struct _NPP* instanceNPP(); 498 struct _NPP* instanceNPP();
499 499
500 // Returns the v8::Isolate that was current when this Instance was created. 500 // Returns the v8::Isolate that was current when this Instance was created.
501 // This is not inlined so as to avoid an unnecessary header include of v8.h. 501 // This is not inlined so as to avoid an unnecessary header include of v8.h.
502 v8::Isolate* GetIsolate() const; 502 v8::Isolate* GetIsolate() const;
503 503
504 // cc::TextureLayerClient implementation. 504 // cc::TextureLayerClient implementation.
505 virtual unsigned PrepareTexture() OVERRIDE; 505 virtual unsigned PrepareTexture() OVERRIDE;
506 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; 506 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE;
507 virtual bool PrepareTextureMailbox(cc::TextureMailbox* mailbox, 507 virtual bool PrepareTextureMailbox(
508 bool use_shared_memory) OVERRIDE; 508 cc::TextureMailbox* mailbox,
509 scoped_ptr<cc::SingleReleaseCallback>* release_callback,
510 bool use_shared_memory) OVERRIDE;
509 511
510 private: 512 private:
511 friend class base::RefCounted<PepperPluginInstanceImpl>; 513 friend class base::RefCounted<PepperPluginInstanceImpl>;
512 friend class PpapiUnittest; 514 friend class PpapiUnittest;
513 515
514 // Delete should be called by the WebPlugin before this destructor. 516 // Delete should be called by the WebPlugin before this destructor.
515 virtual ~PepperPluginInstanceImpl(); 517 virtual ~PepperPluginInstanceImpl();
516 518
517 // Class to record document load notifications and play them back once the 519 // Class to record document load notifications and play them back once the
518 // real document loader becomes available. Used only by external instances. 520 // real document loader becomes available. Used only by external instances.
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 863
862 scoped_ptr<MouseLockDispatcher::LockTarget> lock_target_; 864 scoped_ptr<MouseLockDispatcher::LockTarget> lock_target_;
863 865
864 friend class PpapiPluginInstanceTest; 866 friend class PpapiPluginInstanceTest;
865 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 867 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
866 }; 868 };
867 869
868 } // namespace content 870 } // namespace content
869 871
870 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 872 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_graphics_2d_host.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698