Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of https://github.com/GoogleChrome/chrome-app-s…

  • Loading branch information...
commit 2b40c909833628a146614b6870524460758b0be4 2 parents a75a6d2 + 106c4a4
@PaulKinlan PaulKinlan authored
Showing with 9,341 additions and 6 deletions.
  1. +0 −4 .gitignore
  2. +11 −0 dart/README.md
  3. +8,146 −0 dart/build/clock.dart.js
  4. +75 −0 dart/build/clock.dart.js.deps
  5. +6 −0 dart/build/clock.dart.js.map
  6. +28 −0 dart/clock.html
  7. +4 −0 dart/compile.sh
  8. +65 −0 dart/css/clock.css
  9. +176 −0 dart/dart/balls.dart
  10. +163 −0 dart/dart/clock.dart
  11. +168 −0 dart/dart/numbers.dart
  12. BIN  dart/images/ball-009a49.png
  13. BIN  dart/images/ball-13acfa.png
  14. BIN  dart/images/ball-265897.png
  15. BIN  dart/images/ball-b6b4b5.png
  16. BIN  dart/images/ball-c0000b.png
  17. BIN  dart/images/ball-c9c9c9.png
  18. BIN  dart/images/ball-d9d9d9.png
  19. BIN  dart/images/dart_icon.png
  20. +257 −0 dart/js/dart.js
  21. +10 −0 dart/js/main.js
  22. +12 −0 dart/manifest.json
  23. +9 −0 fullscreen/README.md
  24. +3 −0  fullscreen/background.js
  25. BIN  fullscreen/icon_128.png
  26. BIN  fullscreen/icon_16.png
  27. +14 −0 fullscreen/manifest.json
  28. +11 −0 fullscreen/window.html
  29. +23 −0 fullscreen/window.js
  30. +1 −1  gdocs/main.html
  31. +1 −1  hello-world/styles/main.css
  32. +28 −0 systemInfo/index.html
  33. +18 −0 systemInfo/main.js
  34. +13 −0 systemInfo/manifest.json
  35. +99 −0 systemInfo/systemInfo.js
View
4 .gitignore
@@ -1,6 +1,2 @@
*~
-<<<<<<< HEAD
-.DS_Store
-=======
*.DS_store
->>>>>>> ignore DS_store
View
11 dart/README.md
@@ -0,0 +1,11 @@
+# Using DART in a Chrome Packaged App
+
+A simple Dart sample transformed into a Chrome packaged app. Please, use Dart version equal or greater than
+ 0.1.2.0_15284_chrome-bot (Fri Nov 23 05:26:52 2012)
+if you want to recompile dart to JS. See the correct, CSP compatible, command-line parameter in the compile.sh script.
+
+## APIs
+
+* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
+* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
+
View
8,146 dart/build/clock.dart.js
8,146 additions, 0 deletions not shown
View
75 dart/build/clock.dart.js.deps
@@ -0,0 +1,75 @@
+file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/constant_map.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/core_patch.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/js_array.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/js_number.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/js_string.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/math_patch.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/mirror_opt_in_message.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/native_helper.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/regexp_helper.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/collection/arrays.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/collection/collection.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/collection/collections.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/collection/maps.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/collection/splay_tree.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/bool.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/collection.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/comparable.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/core.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/date.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/double.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/duration.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/errors.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/exceptions.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/expando.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/expect.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/function.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/future.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/future_impl.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/hashable.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/identical.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/int.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/invocation_mirror.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/iterable.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/iterator.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/list.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/map.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/num.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/object.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/options.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/pattern.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/print.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/queue.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/regexp.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/sequences.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/set.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/sort.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/stopwatch.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/string.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/string_buffer.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/strings.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/core/type.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/html/dart2js/html_dart2js.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/isolate/base.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/isolate/isolate.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/isolate/timer.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/json/json.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/math/base.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/math/math.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/math/random.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/svg/dart2js/svg_dart2js.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/uri/encode_decode.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/uri/helpers.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/uri/uri.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/utf/utf.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/utf/utf16.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/utf/utf32.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/utf/utf8.dart
+file:///Users/mangini/Developer/dart/dart-sdk/lib/utf/utf_core.dart
+file:///Users/mangini/dart/clock/dart/balls.dart
+file:///Users/mangini/dart/clock/dart/clock.dart
+file:///Users/mangini/dart/clock/dart/numbers.dart
View
6 dart/build/clock.dart.js.map
@@ -0,0 +1,6 @@
+{
+ "version": 3,
+ "mappings": "A;;;;;;;;A;A;;A;A;A,mB,0B,I;A;A;A,E,E;kB,C;A,cAyVEA;AAAiB,QAAK,AAAFC,UAA2BC;CAAK,A,C;A,SACpDC;MACM,AAACC;SAAmBC,WAAAA;cACIH,UAAMD;EAClCA,SAAE,AAAFA;AACA;CACF,A;;;A,c,qB,A;A,E,E;kB,C;A,aA6uBAK;AAAkB;CAAY,A;;;A,c,qB,C;A;A,E,E;kB;;;A,c,qB,C;A;A,E,E;kB;;;A,kB,yB,O;A;A;A;A,E,E;kB;C,8C,C;A,gBC5jC9BN;MACU;AAAgB;AACxB,QAAwBO;CAC1B,A,C;A,mBAEAC;MACM,AAACC;AAAkB;AACvB,QAAwBF;CAC1B,A,C;A,YAEA;WACEG;EAAAA;CACF,A,C;A,cAUAV;AAAiB,QAAU,MAAPW;CAAW,A,C;A,aAE/BL;AAAkB,QAAGM;CAAsB,A,C;A,uBAE3CC;OACYC,WAAAA;CACZ,A,C;A,qBACA;AAAqC,QAAGD;CAAoB,A,C;A,UAG5D;AAAa,QAAGA;CAAoB,A,C;A,S,2B;;;A,e,sB,O;A;A;A;A,E,E;kB;C,0C;C,0C;;;A,qB,4B,O;A;A;A;A,E,E;kB,C;A,eCWpCE;;MACmBC,mBAAiBC;;AACnB;;;OAGaC;;SAAAA;aAAF;AAC1B,QAAWC,yBAAqBC;CAClC,A,C;A,aAEApB;AAA0B,QAAGqB,oBAAiBJ;CAAiB,A,C;A,eAO/DK;EACEL;AACA,QAAWM;CACb,A,C;A,cAEAjB;AAAmB,QAAGkB;CAAQ,A,C;A,gBAC9BxB;AAAmB,QAAGyB;CAAU,A,C;A,iBAChCzB;AAAoB,QAAG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;;;;;;;;;;;;;;;A;;;;;;;;;;;;;;;;;;;A",
+ "sources": ["file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/js_helper.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/constant_map.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/regexp_helper.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/string_helper.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/core/date.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/core_patch.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/core/errors.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/core/exceptions.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/core/map.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/core/object.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/core/queue.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/core/string_buffer.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/interceptors.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/js_array.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/js_number.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/js_string.dart","file:///Users/mangini/dart/clock/dart/clock.dart","file:///Users/mangini/dart/clock/dart/balls.dart","file:///Users/mangini/dart/clock/dart/numbers.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/html/dart2js/html_dart2js.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/math_patch.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/collection/maps.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/_internal/compiler/implementation/lib/native_helper.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/svg/dart2js/svg_dart2js.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/collection/arrays.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/math/base.dart","file:///Users/mangini/Developer/dart/dart-sdk/lib/collection/collections.dart"],
+ "names": ["bool","i","list","T","hasNext","StateError","String","_jsObject","V","containsKey","_keys","length","Maps","_throwUnmodifiable","UnsupportedError","Match","regExpExec","checkString","m","_MatchImplementation","pattern","regExpTest","Iterable","_AllMatchesIterable","_pattern","_multiLine","_ignoreCase","_groups","Iterator","_AllMatchesIterator","_re","_str","_next","_done","group","RangeError","millisecondsSinceEpoch","other","int","fourDigits","year","twoDigits","month","day","hour","minute","second","threeDigits","millisecond","isUtc","Date","duration","Primitives","_DateImpl","ArgumentError","message","StringBuffer","_arguments","sb","Error","_namedArguments","_existingArgumentNames","_memberName","_receiver","_errmsg","key","_nextProbe","_numberOfEntries","_loadLimit","_grow","_numberOfDeleted","_values","List","_probeForAdding","_ensureCapacity","_probeForLookup","f","_HashMapImpl","_computeLoadLimit","_map","_list","_KeyValuePair","entry","_LinkedHashMapImpl","HashMap","DoubleLinkedQueue","_previous","p","n","DoubleLinkedQueueEntry","E","_element","_DoubleLinkedQueueEntrySentinel","_link","_sentinel","forEach","Queue","_DoubleLinkedQueueIterator","Collections","_currentEntry","_length","obj","str","_buffer","stringJoinUnchecked","_toJsStringArray","_StringBufferImpl","clear","add","checkGrowable","Arrays","ListIterator","num","isNaN","FormatException","isInfinite","truncate","double","ceil","floor","allMatchesInStringUnchecked","substring","stringReplaceAllUnchecked","checkNull","stringSplitUnchecked","checkNum","stringContainsUnchecked","updateTime","balls","window","tick","now","displayedHour","setDigits","pad2","hours","displayedMinute","minutes","displayedSecond","seconds","digits","numbers","DivElement","elem","root","query","ClockNumber","Colon","CountDownClock","createNumbers","parent","lastTime","showFps","min","collideBalls","b0","b1","Ball","Balls","document","makeAbsolute","setElementSize","vx","ax","vy","ay","x","y","clientHeight","ImageElement","setElementPosition","randomVelocity","ballColor","imgs","pixels","img","EventListenerList","_ptr","_type","Node","_this","last","Collection","_Collections","_Lists","_nextMeasurementFrameScheduled","_MEASUREMENT_MESSAGE","_handleMessage","_PostMessageScheduler","_dummy","_handleMutation","_MutationObserverScheduler","_observer","MutationObserver","Window","_createSafe","_window","_pos","_array","result","values","copies","readSlot","writeSlot","cleanupSlots","walk","UnimplementedError","findSlot","e","closure","ball","newDistanceSquared","sqrt","r","app","_boolKeys","override","add$slow","sub","sub$slow","div","div$slow","gt","gt$slow","ge","ge$slow","lt","lt$slow","factory","_MutationObserverFactoryProvider","gtB","geB","ltB","index","index$slow","indexSet","indexSet$slow","checkNumbers","a","tdiv","eq","mul","mul$slow","and","TextTrackListEvents","checkMutable","value","iae","ioore","$throw","toStringWrapper","JS","unwrapException","NoSuchMethodError","Exception","StackOverflowError","makeLiteralMap","keyValuePairs","LinkedHashMap","iterator","convertDartClosureToJS","invokeClosure","ElementEvents","static","strings","isJsArray","RuntimeError","DOMApplicationCacheEvents","constructorNameFallback","string","Function","_getTypeNameOf","getFunctionForTypeNameOf","getTypeNameOf","dynamicBind","lookupDynamicClass","defineProperty","dynamicFunction","regExpGetNative","regExpMakeNative","tags","MetaInfo","regExp","IllegalJSRegExpException","buildDynamicMetadata","_dynamicMetadata","haystack","needle","StringMatch","stringReplaceJS","receiver","JSSyntaxRegExp","Events","_ChildNodeListLazy","_ExceptionImplementation","MediaStreamEvents","AbstractWorkerEvents","getInterceptor","AudioContextEvents","MediaElementEvents","LocalWindowEvents","fpsAverage","LocalWindow","HtmlDocument","Element","_cachedBrowserPrefix","DedicatedWorkerContextEvents","BatteryManagerEvents","ElementInstanceEvents","WorkerContextEvents","BodyElementEvents","userAgent","MediaStreamTrackEvents","MediaStreamTrackListEvents","DocumentEvents","MessagePortEvents","EventSourceEvents","_measurementScheduler","_MeasurementScheduler","_pendingMeasurementFrameCallbacks","_maybeScheduleMeasurementFrame","request","_pendingRequests","handler","_DOMWindowCrossFrame","_convertDartToNative_PrepareForStructuredClone","NotificationEvents","FileReaderEvents","FileWriterEvents","b","PeerConnection00Events","WebSocketEvents","RTCDataChannelEvents","RTCPeerConnectionEvents","WorkerEvents","FrameSetElementEvents","random","Random","HttpRequestEvents","ScriptProcessorNodeEvents","HttpRequestUploadEvents","SharedWorkerContextEvents","IDBDatabaseEvents","SpeechRecognitionEvents","name","objectTypeName","lazyAsJsDate","object","_emitMap","visiting","IDBOpenDBRequestEvents","IDBRequestEvents","TextTrackEvents","destination","IDBTransactionEvents","_emitCollection","_emitObject","_containsRef","IDBVersionChangeRequestEvents","InputElementEvents","TextTrackCueEvents","FixedSizeListIterator","array","_getPropertyValue","setProperty","getPropertyValue","DOMMimeType","DOMPlugin","_postMessage_1","_postMessage_2","RegExp","$dom_getElementById","selectors","$dom_querySelector","CSSStyleDeclaration","ClientRect","BodyElement","IDBRequest","_add_1","_add_2","_addMeasurementFrameCallback","_ensureRequestAnimationFrame","_requestAnimationFrame","_convertNativeToDart_Window","dynamic","options","_call","Map","SourceBuffer","SpeechGrammar","$dom_getItem","$dom_setItem","$dom_clear","$dom_key","$dom_length","TextTrackCue","TextTrack","Touch","CSSRule","CSSValue","Entry","EntrySync","File","Gamepad","MediaStream","SpeechInputResult","SpeechRecognitionResult","StyleSheet","Animation","AnimatedLength","AnimatedNumber","AnimateTransformElement","Length","Number","PathSeg","Transform","ElementInstance"]
+}
View
28 dart/clock.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+
+<!-- Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+ for details. All rights reserved. Use of this source code is governed by a
+ BSD-style license that can be found in the LICENSE file. -->
+
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Clock Demo</title>
+ <link rel="stylesheet" href="css/clock.css">
+ </head>
+ <body>
+ <h1>Clock</h1>
+
+ <p>An html5 clock using absolutely positioned elements.</p>
+
+ <div id="canvas-content"></div>
+
+ <footer>
+ <p id="summary"> </p>
+ <p id="notes"> </p>
+ </footer>
+
+ <script src="build/clock.dart.js"></script>
+ <script src="js/dart.js"></script>
+ </body>
+</html>
View
4 dart/compile.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+dart2js --disallow-unsafe-eval -obuild/clock.dart.js dart/clock.dart
+
View
65 dart/css/clock.css
@@ -0,0 +1,65 @@
+/* Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file */
+/* for details. All rights reserved. Use of this source code is governed by a */
+/* BSD-style license that can be found in the LICENSE file. */
+
+body {
+ background-color: #F8F8F8;
+ font-family: 'Open Sans', sans-serif;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: 1.2em;
+ margin: 15px;
+}
+
+p {
+ color: #333;
+}
+
+#canvas-content {
+ width: 100%;
+ height: 400px;
+ position: relative;
+ border: 1px solid #ccc;
+ background-color: #fff;
+}
+
+#summary {
+ float: left;
+}
+
+#notes {
+ float: right;
+ width: 120px;
+ text-align: right;
+}
+
+.error {
+ font-style: italic;
+ color: red;
+}
+
+#container2 {
+ width: 100px;
+ height: 100px;
+ position: relative;
+ margin: auto;
+}
+
+#target {
+ width: 100%;
+ height: 100%;
+ position: absolute;
+}
+
+#target figure {
+ display: block;
+ position: absolute;
+ width: 150px;
+ height: 80px;
+ border: 1px solid #333;
+ font-size: 36px;
+ color: #222;
+ background: #3291d8;
+ text-align: center;
+ line-height: 2em;
+}
View
176 dart/dart/balls.dart
@@ -0,0 +1,176 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+part of clock;
+
+int get clientWidth => window.innerWidth;
+
+int get clientHeight => window.innerHeight;
+
+class Balls {
+ static const double RADIUS2 = Ball.RADIUS * Ball.RADIUS;
+
+ static const int LT_GRAY_BALL_INDEX = 0;
+ static const int GREEN_BALL_INDEX = 1;
+ static const int BLUE_BALL_INDEX = 2;
+
+ static const int DK_GRAY_BALL_INDEX = 4;
+ static const int RED_BALL_INDEX = 5;
+ static const int MD_GRAY_BALL_INDEX = 6;
+
+ static const List<String> PNGS = const [
+ "images/ball-d9d9d9.png", "images/ball-009a49.png",
+ "images/ball-13acfa.png", "images/ball-265897.png",
+ "images/ball-b6b4b5.png", "images/ball-c0000b.png",
+ "images/ball-c9c9c9.png"
+ ];
+
+ DivElement root;
+ num lastTime;
+ List<Ball> balls;
+
+ Balls() :
+ lastTime = new Date.now().millisecondsSinceEpoch,
+ balls = new List<Ball>() {
+ root = new DivElement();
+ document.body.nodes.add(root);
+ makeAbsolute(root);
+ setElementSize(root, 0.0, 0.0, 0.0, 0.0);
+ }
+
+ void tick(num now) {
+ showFps(1000.0 / (now - lastTime + 0.01));
+
+ double delta = min((now - lastTime) / 1000.0, 0.1);
+ lastTime = now;
+
+ // incrementally move each ball, removing balls that are offscreen
+ balls = balls.filter((ball) => ball.tick(delta));
+ collideBalls(delta);
+ }
+
+ void collideBalls(double delta) {
+ balls.forEach((b0) {
+ balls.forEach((b1) {
+ // See if the two balls are intersecting.
+ double dx = (b0.x - b1.x).abs();
+ double dy = (b0.y - b1.y).abs();
+ double d2 = dx * dx + dy * dy;
+
+ if (d2 < RADIUS2) {
+ // Make sure they're actually on a collision path
+ // (not intersecting while moving apart).
+ // This keeps balls that end up intersecting from getting stuck
+ // without all the complexity of keeping them strictly separated.
+ if (newDistanceSquared(delta, b0, b1) > d2) {
+ return;
+ }
+
+ // They've collided. Normalize the collision vector.
+ double d = sqrt(d2);
+
+ if (d == 0) {
+ // TODO: move balls apart.
+
+ return;
+ }
+
+ dx /= d;
+ dy /= d;
+
+ // Calculate the impact velocity and speed along the collision vector.
+ double impactx = b0.vx - b1.vx;
+ double impacty = b0.vy - b1.vy;
+ double impactSpeed = impactx * dx + impacty * dy;
+
+ // Bump.
+ b0.vx -= dx * impactSpeed;
+ b0.vy -= dy * impactSpeed;
+ b1.vx += dx * impactSpeed;
+ b1.vy += dy * impactSpeed;
+ }
+ });
+ });
+ }
+
+ double newDistanceSquared(double delta, Ball b0, Ball b1) {
+ double nb0x = b0.x + b0.vx * delta;
+ double nb0y = b0.y + b0.vy * delta;
+ double nb1x = b1.x + b1.vx * delta;
+ double nb1y = b1.y + b1.vy * delta;
+ double ndx = (nb0x - nb1x).abs();
+ double ndy = (nb0y - nb1y).abs();
+ double nd2 = ndx * ndx + ndy * ndy;
+ return nd2;
+ }
+
+ void add(double x, double y, int color) {
+ balls.add(new Ball(root, x, y, color));
+ }
+}
+
+class Ball {
+ static const double GRAVITY = 400.0;
+ static const double RESTITUTION = 0.8;
+ static const double MIN_VELOCITY = 100.0;
+ static const double INIT_VELOCITY = 800.0;
+ static const double RADIUS = 14.0;
+
+ static Random random;
+
+ static double randomVelocity() {
+ if (random == null) {
+ random = new Random();
+ }
+
+ return (random.nextDouble() - 0.5) * INIT_VELOCITY;
+ }
+
+ Element root;
+ ImageElement elem;
+ double x, y;
+ double vx, vy;
+ double ax, ay;
+ double age;
+
+ Ball(this.root, this.x, this.y, int color) {
+ elem = new ImageElement(src: Balls.PNGS[color]);
+ makeAbsolute(elem);
+ setElementPosition(elem, x, y);
+ root.nodes.add(elem);
+
+ ax = 0.0;
+ ay = GRAVITY;
+
+ vx = randomVelocity();
+ vy = randomVelocity();
+ }
+
+ // return false => remove me
+ bool tick(double delta) {
+ // Update velocity and position.
+ vx += ax * delta;
+ vy += ay * delta;
+
+ x += vx * delta;
+ y += vy * delta;
+
+ // Handle falling off the edge.
+ if ((x < RADIUS) || (x > clientWidth)) {
+ elem.remove();
+ return false;
+ }
+
+ // Handle ground collisions.
+ if (y > clientHeight) {
+ y = clientHeight.toDouble();
+ vy *= -RESTITUTION;
+ }
+
+ // Position the element.
+ setElementPosition(elem, x - RADIUS, y - RADIUS);
+
+ return true;
+ }
+}
View
163 dart/dart/clock.dart
@@ -0,0 +1,163 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+library clock;
+
+import 'dart:html';
+import 'dart:math';
+
+part 'balls.dart';
+part 'numbers.dart';
+
+void main() {
+ new CountDownClock();
+}
+
+double fpsAverage;
+
+/**
+ * Display the animation's FPS in a div.
+ */
+void showFps(num fps) {
+ if (fpsAverage == null) {
+ fpsAverage = fps;
+ } else {
+ fpsAverage = fps * 0.05 + fpsAverage * 0.95;
+
+ query("#notes").text = "${fpsAverage.round().toInt()} fps";
+ }
+}
+
+class CountDownClock {
+ static const int NUMBER_SPACING = 19;
+ static const double BALL_WIDTH = 19.0;
+ static const double BALL_HEIGHT = 19.0;
+
+ List<ClockNumber> hours = new List<ClockNumber>(2);
+ List<ClockNumber> minutes = new List<ClockNumber>(2);
+ List<ClockNumber> seconds = new List<ClockNumber>(2);
+ int displayedHour = 0;
+ int displayedMinute = 0;
+ int displayedSecond = 0;
+ Balls balls = new Balls();
+
+ CountDownClock() {
+ var parent = query("#canvas-content");
+
+ createNumbers(parent, parent.clientWidth, parent.clientHeight);
+
+ updateTime(new Date.now());
+
+ window.requestAnimationFrame(tick);
+ }
+
+ void tick(num time) {
+ updateTime(new Date.now());
+ balls.tick(time);
+ window.requestAnimationFrame(tick);
+ }
+
+ void updateTime(Date now) {
+ if (now.hour != displayedHour) {
+ setDigits(pad2(now.hour), hours);
+ displayedHour = now.hour;
+ }
+
+ if (now.minute != displayedMinute) {
+ setDigits(pad2(now.minute), minutes);
+ displayedMinute = now.minute;
+ }
+
+ if (now.second != displayedSecond) {
+ setDigits(pad2(now.second), seconds);
+ displayedSecond = now.second;
+ }
+ }
+
+ void setDigits(String digits, List<ClockNumber> numbers) {
+ for (int i = 0; i < numbers.length; ++i) {
+ int digit = digits.charCodeAt(i) - '0'.charCodeAt(0);
+ numbers[i].setPixels(ClockNumbers.PIXELS[digit]);
+ }
+ }
+
+ String pad3(int number) {
+ if (number < 10) {
+ return "00${number}";
+ }
+ if (number < 100) {
+ return "0${number}";
+ }
+ return "${number}";
+ }
+
+ String pad2(int number) {
+ if (number < 10) {
+ return "0${number}";
+ }
+ return "${number}";
+ }
+
+ void createNumbers(Element parent, num width, num height) {
+ DivElement root = new DivElement();
+ makeRelative(root);
+ root.style.textAlign = 'center';
+ query("#canvas-content").nodes.add(root);
+
+ double hSize = (BALL_WIDTH * ClockNumber.WIDTH + NUMBER_SPACING) * 6
+ + (BALL_WIDTH + NUMBER_SPACING) * 2;
+ hSize -= NUMBER_SPACING;
+
+ double vSize = BALL_HEIGHT * ClockNumber.HEIGHT;
+
+ double x = (width - hSize) / 2;
+ double y = (height - vSize) / 3;
+
+ for (int i = 0; i < hours.length; ++i) {
+ hours[i] = new ClockNumber(this, x, Balls.BLUE_BALL_INDEX);
+ root.nodes.add(hours[i].root);
+ setElementPosition(hours[i].root, x, y);
+ x += BALL_WIDTH * ClockNumber.WIDTH + NUMBER_SPACING;
+ }
+
+ root.nodes.add(new Colon(x, y).root);
+ x += BALL_WIDTH + NUMBER_SPACING;
+
+ for (int i = 0; i < minutes.length; ++i) {
+ minutes[i] = new ClockNumber(this, x, Balls.RED_BALL_INDEX);
+ root.nodes.add(minutes[i].root);
+ setElementPosition(minutes[i].root, x, y);
+ x += BALL_WIDTH * ClockNumber.WIDTH + NUMBER_SPACING;
+ }
+
+ root.nodes.add(new Colon(x, y).root);
+ x += BALL_WIDTH + NUMBER_SPACING;
+
+ for (int i = 0; i < seconds.length; ++i) {
+ seconds[i] = new ClockNumber(this, x, Balls.GREEN_BALL_INDEX);
+ root.nodes.add(seconds[i].root);
+ setElementPosition(seconds[i].root, x, y);
+ x += BALL_WIDTH * ClockNumber.WIDTH + NUMBER_SPACING;
+ }
+ }
+}
+
+void makeAbsolute(Element elem) {
+ elem.style.position = 'absolute';
+}
+
+void makeRelative(Element elem) {
+ elem.style.position = 'relative';
+}
+
+void setElementPosition(Element elem, double x, double y) {
+ elem.style.left = "${x}px";
+ elem.style.top = "${y}px";
+}
+
+void setElementSize(Element elem, double l, double t, double r, double b) {
+ setElementPosition(elem, l, t);
+ elem.style.right = "${r}px";
+ elem.style.bottom = "${b}px";
+}
View
168 dart/dart/numbers.dart
@@ -0,0 +1,168 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+part of clock;
+
+class ClockNumber {
+ static const int WIDTH = 4;
+ static const int HEIGHT = 7;
+
+ CountDownClock app;
+ Element root;
+ List<List<ImageElement>> imgs;
+ List<List<int>> pixels;
+ int ballColor;
+
+ ClockNumber(this.app, double pos, this.ballColor) {
+ imgs = new List<List<ImageElement>>(HEIGHT);
+
+ root = new DivElement();
+ makeAbsolute(root);
+ setElementPosition(root, pos, 0.0);
+
+ for (int y = 0; y < HEIGHT; ++y) {
+ imgs[y] = new List<ImageElement>(WIDTH);
+ }
+
+ for (int y = 0; y < HEIGHT; ++y) {
+ for (int x = 0; x < WIDTH; ++x) {
+ imgs[y][x] = new ImageElement();
+ root.nodes.add(imgs[y][x]);
+ makeAbsolute(imgs[y][x]);
+ setElementPosition(imgs[y][x],
+ x * CountDownClock.BALL_WIDTH, y * CountDownClock.BALL_HEIGHT);
+ }
+ }
+ }
+
+ void setPixels(List<List<int>> px) {
+ for (int y = 0; y < HEIGHT; ++y) {
+ for (int x = 0; x < WIDTH; ++x) {
+ ImageElement img = imgs[y][x];
+
+ if (pixels != null) {
+ if ((pixels[y][x] != 0) && (px[y][x] == 0)) {
+ window.requestLayoutFrame(() {
+ var r = img.getBoundingClientRect();
+ double absx = r.left;
+ double absy = r.top;
+
+ app.balls.add(absx, absy, ballColor);
+ });
+ }
+ }
+
+ img.src = px[y][x] != 0 ? Balls.PNGS[ballColor] : Balls.PNGS[6];
+ }
+ }
+
+ pixels = px;
+ }
+}
+
+class Colon {
+ Element root;
+
+ Colon(double xpos, double ypos) {
+ root = new DivElement();
+ makeAbsolute(root);
+ setElementPosition(root, xpos, ypos);
+
+ ImageElement dot = new ImageElement(src: Balls.PNGS[Balls.DK_GRAY_BALL_INDEX]);
+ root.nodes.add(dot);
+ makeAbsolute(dot);
+ setElementPosition(dot, 0.0, 2.0 * CountDownClock.BALL_HEIGHT);
+
+ dot = new ImageElement(src: Balls.PNGS[Balls.DK_GRAY_BALL_INDEX]);
+ root.nodes.add(dot);
+ makeAbsolute(dot);
+ setElementPosition(dot, 0.0, 4.0 * CountDownClock.BALL_HEIGHT);
+ }
+}
+
+class ClockNumbers {
+ static const PIXELS = const [
+ const [
+ const[ 1, 1, 1, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 1, 1, 1 ]
+ ], const [
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ]
+ ], const [
+ const[ 1, 1, 1, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 1, 1, 1, 1 ],
+ const[ 1, 0, 0, 0 ],
+ const[ 1, 0, 0, 0 ],
+ const[ 1, 1, 1, 1 ]
+ ], const [
+ const[ 1, 1, 1, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 1, 1, 1, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 1, 1, 1, 1 ]
+ ], const [
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 1, 1, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ]
+ ], const [
+ const[ 1, 1, 1, 1 ],
+ const[ 1, 0, 0, 0 ],
+ const[ 1, 0, 0, 0 ],
+ const[ 1, 1, 1, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 1, 1, 1, 1 ]
+ ], const [
+ const[ 1, 1, 1, 1 ],
+ const[ 1, 0, 0, 0 ],
+ const[ 1, 0, 0, 0 ],
+ const[ 1, 1, 1, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 1, 1, 1 ]
+ ], const [
+ const[ 1, 1, 1, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ]
+ ], const [
+ const[ 1, 1, 1, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 1, 1, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 1, 1, 1 ]
+ ], const [
+ const[ 1, 1, 1, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 0, 0, 1 ],
+ const[ 1, 1, 1, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 0, 0, 0, 1 ],
+ const[ 1, 1, 1, 1 ]
+ ]
+ ];
+}
View
BIN  dart/images/ball-009a49.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  dart/images/ball-13acfa.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  dart/images/ball-265897.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  dart/images/ball-b6b4b5.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  dart/images/ball-c0000b.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  dart/images/ball-c9c9c9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  dart/images/ball-d9d9d9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  dart/images/dart_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
257 dart/js/dart.js
@@ -0,0 +1,257 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// Bootstrap support for Dart scripts on the page as this script.
+if (navigator.webkitStartDart) {
+ if (!navigator.webkitStartDart()) {
+ document.body.innerHTML = 'This build has expired. Please download a new Dartium at http://www.dartlang.org/dartium/index.html';
+ }
+} else {
+ // TODO:
+ // - Support in-browser compilation.
+ // - Handle inline Dart scripts.
+ window.addEventListener("DOMContentLoaded", function (e) {
+ // Fall back to compiled JS. Run through all the scripts and
+ // replace them if they have a type that indicate that they source
+ // in Dart code.
+ //
+ // <script type="application/dart" src="..."></script>
+ //
+ var scripts = document.getElementsByTagName("script");
+ var length = scripts.length;
+ for (var i = 0; i < length; ++i) {
+ if (scripts[i].type == "application/dart") {
+ // Remap foo.dart to foo.dart.js.
+ if (scripts[i].src && scripts[i].src != '') {
+ var script = document.createElement('script');
+ script.src = scripts[i].src + '.js';
+ var parent = scripts[i].parentNode;
+ parent.replaceChild(script, scripts[i]);
+ }
+ }
+ }
+ }, false);
+}
+
+// ---------------------------------------------------------------------------
+// Experimental support for JS interoperability
+// ---------------------------------------------------------------------------
+function SendPortSync() {
+}
+
+function ReceivePortSync() {
+ this.id = ReceivePortSync.id++;
+ ReceivePortSync.map[this.id] = this;
+}
+
+(function() {
+ // Serialize the following types as follows:
+ // - primitives / null: unchanged
+ // - lists: [ 'list', internal id, list of recursively serialized elements ]
+ // - maps: [ 'map', internal id, map of keys and recursively serialized values ]
+ // - send ports: [ 'sendport', type, isolate id, port id ]
+ //
+ // Note, internal id's are for cycle detection.
+ function serialize(message) {
+ var visited = [];
+ function checkedSerialization(obj, serializer) {
+ // Implementation detail: for now use linear search.
+ // Another option is expando, but it may prohibit
+ // VM optimizations (like putting object into slow mode
+ // on property deletion.)
+ var id = visited.indexOf(obj);
+ if (id != -1) return [ 'ref', id ];
+ var id = visited.length;
+ visited.push(obj);
+ return serializer(id);
+ }
+
+ function doSerialize(message) {
+ if (message == null) {
+ return null; // Convert undefined to null.
+ } else if (typeof(message) == 'string' ||
+ typeof(message) == 'number' ||
+ typeof(message) == 'boolean') {
+ return message;
+ } else if (message instanceof Array) {
+ return checkedSerialization(message, function(id) {
+ var values = new Array(message.length);
+ for (var i = 0; i < message.length; i++) {
+ values[i] = doSerialize(message[i]);
+ }
+ return [ 'list', id, values ];
+ });
+ } else if (message instanceof LocalSendPortSync) {
+ return [ 'sendport', 'nativejs', message.receivePort.id ];
+ } else if (message instanceof DartSendPortSync) {
+ return [ 'sendport', 'dart', message.isolateId, message.portId ];
+ } else {
+ return checkedSerialization(message, function(id) {
+ var keys = Object.getOwnPropertyNames(message);
+ var values = new Array(keys.length);
+ for (var i = 0; i < keys.length; i++) {
+ values[i] = doSerialize(message[keys[i]]);
+ }
+ return [ 'map', id, keys, values ];
+ });
+ }
+ }
+ return doSerialize(message);
+ }
+
+ function deserialize(message) {
+ return deserializeHelper(message);
+ }
+
+ function deserializeHelper(message) {
+ if (message == null ||
+ typeof(message) == 'string' ||
+ typeof(message) == 'number' ||
+ typeof(message) == 'boolean') {
+ return message;
+ }
+ switch (message[0]) {
+ case 'map': return deserializeMap(message);
+ case 'sendport': return deserializeSendPort(message);
+ case 'list': return deserializeList(message);
+ default: throw 'unimplemented';
+ }
+ }
+
+ function deserializeMap(message) {
+ var result = { };
+ var id = message[1];
+ var keys = message[2];
+ var values = message[3];
+ for (var i = 0, length = keys.length; i < length; i++) {
+ var key = deserializeHelper(keys[i]);
+ var value = deserializeHelper(values[i]);
+ result[key] = value;
+ }
+ return result;
+ }
+
+ function deserializeSendPort(message) {
+ var tag = message[1];
+ switch (tag) {
+ case 'nativejs':
+ var id = message[2];
+ return new LocalSendPortSync(ReceivePortSync.map[id]);
+ case 'dart':
+ var isolateId = message[2];
+ var portId = message[3];
+ return new DartSendPortSync(isolateId, portId);
+ default:
+ throw 'Illegal SendPortSync type: $tag';
+ }
+ }
+
+ function deserializeList(message) {
+ var values = message[2];
+ var length = values.length;
+ var result = new Array(length);
+ for (var i = 0; i < length; i++) {
+ result[i] = deserializeHelper(values[i]);
+ }
+ return result;
+ }
+
+ window.registerPort = function(name, port) {
+ var stringified = JSON.stringify(serialize(port));
+ var attrName = 'dart-port:' + name;
+ document.documentElement.setAttribute(attrName, stringified);
+ // TODO(vsm): Phase out usage of localStorage. We're leaving it in
+ // temporarily for backwards compatibility.
+ window.localStorage[attrName] = stringified;
+ };
+
+ window.lookupPort = function(name) {
+ var attrName = 'dart-port:' + name;
+ var stringified = document.documentElement.getAttribute(attrName);
+ // TODO(vsm): Phase out usage of localStorage. We're leaving it in
+ // temporarily for backwards compatibility.
+ if (!stringified) {
+ stringified = window.localStorage[attrName];
+ }
+ return deserialize(JSON.parse(stringified));
+ };
+
+ ReceivePortSync.id = 0;
+ ReceivePortSync.map = {};
+
+ ReceivePortSync.dispatchCall = function(id, message) {
+ // TODO(vsm): Handle and propagate exceptions.
+ var deserialized = deserialize(message);
+ var result = ReceivePortSync.map[id].callback(deserialized);
+ return serialize(result);
+ };
+
+ ReceivePortSync.prototype.receive = function(callback) {
+ this.callback = callback;
+ };
+
+ ReceivePortSync.prototype.toSendPort = function() {
+ return new LocalSendPortSync(this);
+ };
+
+ ReceivePortSync.prototype.close = function() {
+ delete ReceivePortSync.map[this.id];
+ };
+
+ if (navigator.webkitStartDart) {
+ window.addEventListener('js-sync-message', function(event) {
+ var data = JSON.parse(getPortSyncEventData(event));
+ var deserialized = deserialize(data.message);
+ var result = ReceivePortSync.map[data.id].callback(deserialized);
+ // TODO(vsm): Handle and propagate exceptions.
+ dispatchEvent('js-result', serialize(result));
+ }, false);
+ }
+
+ function LocalSendPortSync(receivePort) {
+ this.receivePort = receivePort;
+ }
+
+ LocalSendPortSync.prototype = new SendPortSync();
+
+ LocalSendPortSync.prototype.callSync = function(message) {
+ // TODO(vsm): Do a direct deepcopy.
+ message = deserialize(serialize(message));
+ return this.receivePort.callback(message);
+ }
+
+ function DartSendPortSync(isolateId, portId) {
+ this.isolateId = isolateId;
+ this.portId = portId;
+ }
+
+ DartSendPortSync.prototype = new SendPortSync();
+
+ function dispatchEvent(receiver, message) {
+ var string = JSON.stringify(message);
+ var event = document.createEvent('CustomEvent');
+ event.initCustomEvent(receiver, false, false, string);
+ window.dispatchEvent(event);
+ }
+
+ function getPortSyncEventData(event) {
+ return event.detail;
+ }
+
+ DartSendPortSync.prototype.callSync = function(message) {
+ var serialized = serialize(message);
+ var target = 'dart-port-' + this.isolateId + '-' + this.portId;
+ // TODO(vsm): Make this re-entrant.
+ // TODO(vsm): Set this up set once, on the first call.
+ var source = target + '-result';
+ var result = null;
+ var listener = function (e) {
+ result = JSON.parse(getPortSyncEventData(e));
+ };
+ window.addEventListener(source, listener, false);
+ dispatchEvent(target, [source, serialized]);
+ window.removeEventListener(source, listener, false);
+ return deserialize(result);
+ }
+})();
View
10 dart/js/main.js
@@ -0,0 +1,10 @@
+/**
+ * Listens for the app launching then creates the window
+ *
+ * @see http://developer.chrome.com/trunk/apps/app.runtime.html
+ * @see http://developer.chrome.com/trunk/apps/app.window.html
+ */
+chrome.app.runtime.onLaunched.addListener(function() {
+ chrome.app.window.create('clock.html',
+ {id: 'clock', width: 800, height: 550});
+});
View
12 dart/manifest.json
@@ -0,0 +1,12 @@
+{
+ "manifest_version": 2,
+ "name": "Hello Dart!",
+ "version": "1",
+ "minimum_chrome_version": "23",
+ "icons": {"128": "images/dart_icon.png"},
+ "app": {
+ "background": {
+ "scripts": ["js/main.js"]
+ }
+ }
+}
View
9 fullscreen/README.md
@@ -0,0 +1,9 @@
+# Fullscreen sample
+
+This is a basic test of using the HTML fullscreen api to cause a window to go
+full screen.
+
+## Resources
+
+* [Fullscreen Specification](http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html)
+
View
3  fullscreen/background.js
@@ -0,0 +1,3 @@
+chrome.app.runtime.onLaunched.addListener(function() {
+ chrome.app.window.create('window.html', {width: 500, height: 309});
+});
View
BIN  fullscreen/icon_128.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  fullscreen/icon_16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
14 fullscreen/manifest.json
@@ -0,0 +1,14 @@
+{
+ "manifest_version": 2,
+ "name": "Fullscreen sample",
+ "version": "1",
+ "icons": {
+ "16": "icon_16.png",
+ "128": "icon_128.png"
+ },
+ "app": {
+ "background": {
+ "scripts": ["background.js"]
+ }
+ }
+}
View
11 fullscreen/window.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+</head>
+<body>
+ <h1>Fullscreen sample</h1>
+ <button id="enter">Enter Fullscreen</button>
+ <button id="exit">Exit Fullscreen</button>
+ <script src="window.js"></script>
+</body>
+</html>
View
23 fullscreen/window.js
@@ -0,0 +1,23 @@
+// Log events:
+
+document.onwebkitfullscreenchange = function () {
+ console.log("onwebkitfullscreenchange");
+}
+
+document.onwebkitfullscreenerror = function () {
+ console.log("onwebkitfullscreenerror");
+}
+
+// Button handlers:
+
+document.getElementById('enter').addEventListener('click', function(e) {
+ document.body.webkitRequestFullscreen();
+});
+
+document.getElementById('exit').addEventListener('click', function(e) {
+ document.webkitExitFullscreen();
+});
+
+// Attempt fullscreen on window creation.
+document.body.webkitRequestFullscreen();
+
View
2  gdocs/main.html
@@ -16,7 +16,7 @@
Author: Eric Bidelman (ericbidelman@chromium.org)
-->
-<html data-ng-app="gDriveApp">
+<html data-ng-app="gDriveApp" ng-csp="">
<head>
<meta charset="utf-8" />
<title>Google Drive Uploader</title>
View
2  hello-world/styles/main.css
@@ -1,5 +1,5 @@
body {
- background: url("hello_world.png") no-repeat;
+ background: url("../hello_world.png") no-repeat;
}
h1 {
View
28 systemInfo/index.html
@@ -0,0 +1,28 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title> System Information </title>
+<script src="systemInfo.js"></script>
+</head>
+<body>
+<h2><b>CPU Information</b></h2>
+<div id="cpu-info">
+ <i> Loading ...</i>
+</div>
+<div id="cpu-cores">
+ <i> <br>Loading ...</i>
+</div>
+<h2><b>Memory Information</b></h2>
+<div id="memory-info">
+ <i>Loading...</i>
+</div>
+<h2><b>Storage Information</b></h2>
+<div>
+ <i>Monitor free space change? </i>
+ <input type="button" value="Start" id="start-btn"></input>
+ <input type="button" value="Stop" id="stop-btn"></input>
+</div>
+<div id="storage-list">
+ <i>Loading ...</i>
+</div>
+</body>
+</html>
View
18 systemInfo/main.js
@@ -0,0 +1,18 @@
+/**
+ * Copyright (c) 2012 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ **/
+
+
+/**
+ * Listens for the app launching then creates the window
+ *
+ * @see http://developer.chrome.com/trunk/apps/app.window.html
+ */
+ chrome.app.runtime.onLaunched.addListener(function() {
+ chrome.app.window.create('index.html', {
+ height: 550,
+ width: 800
+ });
+});
View
13 systemInfo/manifest.json
@@ -0,0 +1,13 @@
+{
+ "name": "SystemInfo Sample",
+ "version": "0.1",
+ "permissions": ["experimental"],
+ "minimum_chrome_version": "23",
+ "manifest_version": 2,
+ "description": "Show disk capacity via SystemInfo API",
+ "app": {
+ "background": {
+ "scripts": ["main.js"]
+ }
+ }
+}
View
99 systemInfo/systemInfo.js
@@ -0,0 +1,99 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+var systemInfo = chrome.experimental.systemInfo;
+
+var indicator = {}
+var isStarted = false;
+
+function onStorageChanged(info) {
+ var elem = document.getElementById(info.id);
+ if (indicator[info.id]++ % 2)
+ elem.bgColor = "green";
+ else
+ elem.bgColor = "white";
+ elem.innerHTML = info.availableCapacity;
+}
+
+function startMonitor() {
+ if (isStarted) return;
+ systemInfo.storage.onAvailableCapacityChanged.addListener(onStorageChanged);
+ isStarted = true;
+}
+
+function stopMonitor() {
+ if (!isStarted) return;
+ systemInfo.storage.onAvailableCapacityChanged.removeListener(
+ onStorageChanged);
+ isStarted = false;
+}
+
+function showStorageInfo(unit) {
+ table = "<tr><td>" + unit.id + "</td>" +
+ "<td>" + unit.type + "</td>" +
+ "<td>" + Math.round(unit.capacity/1024) + "</td>" +
+ "<td id=" + "\"" + unit.id + "\">" +
+ Math.round(unit.availableCapacity/1024) +
+ "</td></tr>\n";
+ return table;
+}
+
+function init() {
+ document.getElementById("start-btn").onclick = startMonitor;
+ document.getElementById("stop-btn").onclick = stopMonitor;
+
+ // Get CPU information.
+ chrome.experimental.systemInfo.cpu.get(function(cpu) {
+ var cpuInfo = "<b>Architecture:</b> " + cpu.archName +
+ "<br><b>Model Name: </b>" + cpu.modelName +
+ "<br><b>Number of Processors: </b>" + cpu.numOfProcessors;
+ var div = document.getElementById("cpu-info");
+ div.innerHTML = cpuInfo;
+ });
+ chrome.experimental.systemInfo.cpu.onUpdated.addListener(function(info) {
+ var table = "<br><table border=\"1\">\n" +
+ "<tr><td width=\"80px\"><b>Index</b></td>";
+ for (var i = 0; i < info.usagePerProcessor.length; i++) {
+ table += "<td width=\"120px\"><b>" + i + "</b></td>";
+ }
+ table += "<td width=\"120px\"><b>Total</b></td></tr>\n";
+ table += "<tr><td><b>History Usage</b></td>";
+ for (var i = 0; i < info.usagePerProcessor.length; i++) {
+ table += "<td>" + Math.round(info.usagePerProcessor[i]) + "</td>";
+ }
+ table += "<td>" + Math.round(info.averageUsage) + "</td></tr>";
+ table += "</table>\n";
+ var div = document.getElementById("cpu-cores");
+ div.innerHTML = table;
+ });
+
+ // Get memory information.
+ chrome.experimental.systemInfo.memory.get(function(memory) {
+ var memoryInfo =
+ "<b>Total Capacity:</b> " + Math.round(memory.capacity / 1024) + "KB" +
+ "<br><b>Available Capacity: </b>" +
+ Math.round(memory.availableCapacity / 1024) + "KB"
+ var div = document.getElementById("memory-info");
+ div.innerHTML = memoryInfo;
+ });
+
+ // Get storage information.
+ chrome.experimental.systemInfo.storage.get(function(units) {
+ var table = "<table width=65% border=\"1\">\n" +
+ "<tr><td><b>ID</b></td>" +
+ "<td><b>Type</b></td>" +
+ "<td><b>Total Capacity (KB)</b></td>" +
+ "<td><b>Available Capacity (KB)</b></td>" +
+ "</tr>\n";
+ for (var i = 0; i < units.length; i++) {
+ indicator[units[i].id] = 0;
+ table += showStorageInfo(units[i]);
+ }
+ table += "</table>\n";
+ var div = document.getElementById("storage-list");
+ div.innerHTML = table;
+ });
+}
+
+document.addEventListener('DOMContentLoaded', init);
Please sign in to comment.
Something went wrong with that request. Please try again.