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

Unified Diff: sky/specs/dom.md

Issue 880963005: Specs: Yet Another Gesture Model (mark IV). This one handles (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 months 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 | sky/specs/events.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/specs/dom.md
diff --git a/sky/specs/dom.md b/sky/specs/dom.md
index 8b566c0de25597fb4fb1849bb8d1d3c637fd608e..103959cfb6ba334ec2013f62d7127f4f01271023 100644
--- a/sky/specs/dom.md
+++ b/sky/specs/dom.md
@@ -3,7 +3,7 @@ Sky DOM APIs
```javascript
-// DOM
+// Element Tree
typedef ChildNode (Element or Text);
typedef ChildArgument (Element or Text or String);
@@ -123,9 +123,15 @@ class ShadowRoot : TreeScope {
class Document : TreeScope {
constructor (ChildArguments... nodes); // O(N) in number of arguments plus all their descendants
+}
+
+class ApplicationDocument : Document {
+ constructor (GestureManager gestureManager, ChildArguments... nodes); // O(N) in number of /nodes/ arguments plus all their descendants
virtual LayoutManagerConstructor getLayoutManager(); // O(1)
// returns sky.rootLayoutManager;
+
+ readonly attribute GestureManager gestureManager;
}
attribute LayoutManagerConstructor rootLayoutManager; // O(1)
« no previous file with comments | « no previous file | sky/specs/events.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698