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

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

Issue 1882503002: Remove setErrorMessageCallback from WebGraphicsContext3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@errorcallback
Patch Set: weberrors: owned Created 4 years, 8 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 ba149c1a9bb4904edcb048f0c8cf5e777a7dc9b5..3018b84f49c18f78bade1ed9777e8f150fe15586 100644
--- a/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
+++ b/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
@@ -31,6 +31,8 @@
#ifndef WebGraphicsContext3DProvider_h
#define WebGraphicsContext3DProvider_h
+#include "public/platform/functional/WebFunction.h"
+
class GrContext;
namespace gpu {
@@ -40,7 +42,6 @@ class GLES2Interface;
}
namespace blink {
-class WebClosure;
class WebGraphicsContext3D;
class WebGraphicsContext3DProvider {
@@ -52,6 +53,7 @@ public:
virtual GrContext* grContext() = 0;
virtual void setLostContextCallback(WebClosure) = 0;
+ virtual void setErrorMessageCallback(WebFunction<void(const char* msg, int32_t id)>) = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/public/platform/WebGraphicsContext3D.h ('k') | third_party/WebKit/public/platform/callback/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698