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

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

Issue 51653008: Remove WGC3D::isContextLost references from cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 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 | 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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 // Returns the plugin NPP identifier that this plugin will use to identify 492 // Returns the plugin NPP identifier that this plugin will use to identify
493 // itself when making NPObject scripting calls to WebBindings. 493 // itself when making NPObject scripting calls to WebBindings.
494 struct _NPP* instanceNPP(); 494 struct _NPP* instanceNPP();
495 495
496 // Returns the v8::Isolate that was current when this Instance was created. 496 // Returns the v8::Isolate that was current when this Instance was created.
497 // This is not inlined so as to avoid an unnecessary header include of v8.h. 497 // This is not inlined so as to avoid an unnecessary header include of v8.h.
498 v8::Isolate* GetIsolate() const; 498 v8::Isolate* GetIsolate() const;
499 499
500 // cc::TextureLayerClient implementation. 500 // cc::TextureLayerClient implementation.
501 virtual unsigned PrepareTexture() OVERRIDE; 501 virtual unsigned PrepareTexture() OVERRIDE;
502 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; 502 virtual bool IsContextLost() OVERRIDE;
503 virtual void RateLimitContext() OVERRIDE;
503 virtual bool PrepareTextureMailbox( 504 virtual bool PrepareTextureMailbox(
504 cc::TextureMailbox* mailbox, 505 cc::TextureMailbox* mailbox,
505 scoped_ptr<cc::SingleReleaseCallback>* release_callback, 506 scoped_ptr<cc::SingleReleaseCallback>* release_callback,
506 bool use_shared_memory) OVERRIDE; 507 bool use_shared_memory) OVERRIDE;
507 508
508 private: 509 private:
509 friend class base::RefCounted<PepperPluginInstanceImpl>; 510 friend class base::RefCounted<PepperPluginInstanceImpl>;
510 friend class PpapiUnittest; 511 friend class PpapiUnittest;
511 512
512 // Delete should be called by the WebPlugin before this destructor. 513 // Delete should be called by the WebPlugin before this destructor.
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 // view change events. 860 // view change events.
860 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 861 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
861 862
862 friend class PpapiPluginInstanceTest; 863 friend class PpapiPluginInstanceTest;
863 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 864 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
864 }; 865 };
865 866
866 } // namespace content 867 } // namespace content
867 868
868 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 869 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698