Add a setTimer() function.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 18 Dec 2013 04:45:37 +0000 (04:45 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 18 Dec 2013 04:45:37 +0000 (04:45 +0000)
commit0fc0dea333f313a579558beb7ba498db0711780e
tree02bbfa9462cbe17476c7f06e594a9db8a8c8652c
parent4e8f1e56b17c3663d1892f44a4c1893b568ce67f
Add a setTimer() function.

Seemed simple, but required adding a Global class that contains all the global state (instance and context) for our running V8 instance. Also moved canvas.inval to be just inval() at the global level.

BUG=
R=robertphillips@google.com

Author: jcgregorio@google.com

Review URL: https://codereview.chromium.org/103143009

git-svn-id: http://skia.googlecode.com/svn/trunk@12730 2bbb7eff-a529-9590-31e7-b0007b416f81
experimental/SkV8Example/Global.cpp [new file with mode: 0644]
experimental/SkV8Example/Global.h [new file with mode: 0644]
experimental/SkV8Example/SkV8Example.cpp
experimental/SkV8Example/SkV8Example.h
experimental/SkV8Example/sample.js
gyp/v8.gyp