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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | experimental/SkV8Example/SkV8Example.cpp » ('j') | gyp/everything.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2013 Google Inc.
3 *
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 *
8 */
9
10 #ifndef SkV8Example_DEFINED
11 #define SkV8Example_DEFINED
12
13 #include "SkWindow.h"
14
robertphillips 2013/12/03 20:49:27 I think we only need SkCanvas here.
jcgregorio 2013/12/03 21:06:44 Done.
15 class GrContext;
16 struct GrGLInterface;
17 class GrRenderTarget;
18 class SkCanvas;
19 class SkV8ExampleWindow;
20
21
22 class SkV8ExampleWindow : public SkOSWindow {
23 public:
robertphillips 2013/12/03 20:49:27 Don't think we need DeviceType.
jcgregorio 2013/12/03 21:06:44 Done.
24 enum DeviceType {
25 kRaster_DeviceType,
26 kGPU_DeviceType,
27 };
28 SkV8ExampleWindow(void* hwnd);
29
30
31 protected:
32 virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE;
33
34
35 #ifdef SK_BUILD_FOR_WIN
36 virtual void onHandleInval(const SkIRect&) SK_OVERRIDE;
37 #endif
38
39 private:
40
41 typedef SkOSWindow INHERITED;
42 };
43
44 #endif
OLDNEW
« 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