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

Unified Diff: gpu/blink/webgraphicscontext3d_impl.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
« no previous file with comments | « content/renderer/webgraphicscontext3d_provider_impl.cc ('k') | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/blink/webgraphicscontext3d_impl.h
diff --git a/gpu/blink/webgraphicscontext3d_impl.h b/gpu/blink/webgraphicscontext3d_impl.h
index 91774ccf797010cf58747849634087342ee3afda..bd2c45f88b57f29a0b7b08baf9c0a1c7e04e4c61 100644
--- a/gpu/blink/webgraphicscontext3d_impl.h
+++ b/gpu/blink/webgraphicscontext3d_impl.h
@@ -20,15 +20,12 @@ namespace gpu {
namespace gles2 {
class GLES2Interface;
-class GLES2ImplementationErrorMessageCallback;
struct ContextCreationAttribHelper;
}
}
namespace gpu_blink {
-class WebGraphicsContext3DErrorMessageCallback;
-
class GPU_BLINK_EXPORT WebGraphicsContext3DImpl
: public NON_EXPORTED_BASE(blink::WebGraphicsContext3D) {
public:
@@ -40,16 +37,11 @@ class GPU_BLINK_EXPORT WebGraphicsContext3DImpl
void setContextLostCallback(
WebGraphicsContext3D::WebGraphicsContextLostCallback* callback);
- void setErrorMessageCallback(
- WebGraphicsContext3D::WebGraphicsErrorMessageCallback* callback) override;
-
::gpu::gles2::GLES2Interface* GetGLInterface() {
return gl_;
}
protected:
- friend class WebGraphicsContext3DErrorMessageCallback;
-
WebGraphicsContext3DImpl();
void SetGLInterface(::gpu::gles2::GLES2Interface* gl) { gl_ = gl; }
@@ -58,7 +50,6 @@ class GPU_BLINK_EXPORT WebGraphicsContext3DImpl
bool initialize_failed_;
WebGraphicsContextLostCallback* context_lost_callback_;
- WebGraphicsErrorMessageCallback* error_message_callback_;
::gpu::gles2::GLES2Interface* gl_;
bool lose_context_when_out_of_memory_;
« no previous file with comments | « content/renderer/webgraphicscontext3d_provider_impl.cc ('k') | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698