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

Unified Diff: third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h

Issue 1830033003: Make lost context callback a base::Closure thru the WGC3DProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lostcontext-webclosure: 80 Created 4 years, 9 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
Index: third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
diff --git a/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h b/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
index 709c1d250b5e1f0d04bced8936c8f2ec34e68edc..ba149c1a9bb4904edcb048f0c8cf5e777a7dc9b5 100644
--- a/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
+++ b/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
@@ -31,8 +31,6 @@
#ifndef WebGraphicsContext3DProvider_h
#define WebGraphicsContext3DProvider_h
-#include "WebCommon.h"
-
class GrContext;
namespace gpu {
@@ -42,7 +40,7 @@ class GLES2Interface;
}
namespace blink {
-
+class WebClosure;
class WebGraphicsContext3D;
class WebGraphicsContext3DProvider {
@@ -52,6 +50,8 @@ public:
virtual WebGraphicsContext3D* context3d() = 0;
virtual gpu::gles2::GLES2Interface* contextGL() = 0;
virtual GrContext* grContext() = 0;
+
+ virtual void setLostContextCallback(WebClosure) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698