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

Unified Diff: gpu/blink/webgraphicscontext3d_impl.h

Issue 1885903002: Revert of Make lost context and error message callbacks on GpuControl go to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/pepper/ppb_graphics_3d_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..0dc5bc58bf3715c346dfbbdacc5aaff977e3537a 100644
--- a/gpu/blink/webgraphicscontext3d_impl.h
+++ b/gpu/blink/webgraphicscontext3d_impl.h
@@ -52,13 +52,21 @@
WebGraphicsContext3DImpl();
+ ::gpu::gles2::GLES2ImplementationErrorMessageCallback*
+ getErrorMessageCallback();
+ virtual void OnErrorMessage(const std::string& message, int id);
+
void SetGLInterface(::gpu::gles2::GLES2Interface* gl) { gl_ = gl; }
bool initialized_;
bool initialize_failed_;
- WebGraphicsContextLostCallback* context_lost_callback_;
- WebGraphicsErrorMessageCallback* error_message_callback_;
+ WebGraphicsContext3D::WebGraphicsContextLostCallback* context_lost_callback_;
+
+ WebGraphicsContext3D::WebGraphicsErrorMessageCallback*
+ error_message_callback_;
+ scoped_ptr<WebGraphicsContext3DErrorMessageCallback>
+ client_error_message_callback_;
::gpu::gles2::GLES2Interface* gl_;
bool lose_context_when_out_of_memory_;
« no previous file with comments | « content/renderer/pepper/ppb_graphics_3d_impl.cc ('k') | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698