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

Unified Diff: experimental/SkV8Example/SkV8Example.h

Issue 93933005: V8 and Skia (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: revert experimental.gyp Created 7 years 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 | « no previous file | experimental/SkV8Example/SkV8Example.cpp » ('j') | gyp/everything.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/SkV8Example/SkV8Example.h
===================================================================
--- experimental/SkV8Example/SkV8Example.h (revision 0)
+++ experimental/SkV8Example/SkV8Example.h (revision 0)
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2013 Google Inc.
+ *
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ *
+ */
+
+#ifndef SkV8Example_DEFINED
+#define SkV8Example_DEFINED
+
+#include "SkWindow.h"
+
robertphillips 2013/12/03 20:49:27 I think we only need SkCanvas here.
jcgregorio 2013/12/03 21:06:44 Done.
+class GrContext;
+struct GrGLInterface;
+class GrRenderTarget;
+class SkCanvas;
+class SkV8ExampleWindow;
+
+
+class SkV8ExampleWindow : public SkOSWindow {
+public:
robertphillips 2013/12/03 20:49:27 Don't think we need DeviceType.
jcgregorio 2013/12/03 21:06:44 Done.
+ enum DeviceType {
+ kRaster_DeviceType,
+ kGPU_DeviceType,
+ };
+ SkV8ExampleWindow(void* hwnd);
+
+
+protected:
+ virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE;
+
+
+#ifdef SK_BUILD_FOR_WIN
+ virtual void onHandleInval(const SkIRect&) SK_OVERRIDE;
+#endif
+
+private:
+
+ typedef SkOSWindow INHERITED;
+};
+
+#endif
« no previous file with comments | « no previous file | experimental/SkV8Example/SkV8Example.cpp » ('j') | gyp/everything.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698