summaryrefslogtreecommitdiffstats
path: root/gin
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-08 20:31:35 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-08 20:31:35 +0000
commitbf69c806c8f042c301081beaf300cd9cd099212b (patch)
tree15adbd2a0c3ef8e418bbaef5d70113d811116e19 /gin
parentab03ac097a6555bab77ae23e6d79652f56f55e5d (diff)
downloadchromium_src-bf69c806c8f042c301081beaf300cd9cd099212b.zip
chromium_src-bf69c806c8f042c301081beaf300cd9cd099212b.tar.gz
chromium_src-bf69c806c8f042c301081beaf300cd9cd099212b.tar.bz2
Make the cube spin in the JS mojo app.
R=abarth@chromium.org Review URL: https://codereview.chromium.org/126743002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243637 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin')
-rw-r--r--gin/modules/timer.cc1
-rw-r--r--gin/modules/timer.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/gin/modules/timer.cc b/gin/modules/timer.cc
index 6baf2d2..6d59f56 100644
--- a/gin/modules/timer.cc
+++ b/gin/modules/timer.cc
@@ -72,6 +72,7 @@ void Timer::OnTimerFired() {
// TimerModule =================================================================
+const char TimerModule::kName[] = "timer";
WrapperInfo TimerModule::kWrapperInfo = { kEmbedderNativeGin };
// static
diff --git a/gin/modules/timer.h b/gin/modules/timer.h
index c39e131..e2bed2e 100644
--- a/gin/modules/timer.h
+++ b/gin/modules/timer.h
@@ -46,6 +46,7 @@ class GIN_EXPORT Timer : public Wrappable<Timer> {
class GIN_EXPORT TimerModule : public Wrappable<TimerModule> {
public:
+ static const char kName[];
static WrapperInfo kWrapperInfo;
static Handle<TimerModule> Create(v8::Isolate* isolate);
static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);