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

Unified Diff: mojo/apps/js/bindings/gl/context.h

Issue 131153007: Send size to NativeViewportClient::OnCreated instead of GLES2Client::DidCreateContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix TODO Created 6 years, 11 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: mojo/apps/js/bindings/gl/context.h
diff --git a/mojo/apps/js/bindings/gl/context.h b/mojo/apps/js/bindings/gl/context.h
index de47f15e4dac4a75a30defa6019aca3885368b8c..94f56b63c768d91ede25b6d62b3c8725f9499f92 100644
--- a/mojo/apps/js/bindings/gl/context.h
+++ b/mojo/apps/js/bindings/gl/context.h
@@ -62,11 +62,8 @@ class Context : public gin::Wrappable<Context> {
v8::Handle<v8::Function> did_create_callback);
virtual ~Context();
- void DidCreateContext(uint32_t width, uint32_t height);
- static void DidCreateContextThunk(
- void* closure,
- uint32_t width,
- uint32_t height);
+ void DidCreateContext();
+ static void DidCreateContextThunk(void* closure);
void ContextLost();
static void ContextLostThunk(void* closure);
« no previous file with comments | « no previous file | mojo/apps/js/bindings/gl/context.cc » ('j') | mojo/services/native_viewport/native_viewport_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698