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

Unified Diff: sky/engine/core/frame/LocalDOMWindow.h

Issue 1028243003: Let Dart code running in Sky add events to the trace timeline (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: more Created 5 years, 9 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 | « sky/engine/core/core.gni ('k') | sky/engine/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/LocalDOMWindow.h
diff --git a/sky/engine/core/frame/LocalDOMWindow.h b/sky/engine/core/frame/LocalDOMWindow.h
index 4a03070bbd9813ef0dca347fe2e27960d5990486..f61ebdd3544cacc61a529805c3532ff4dd134d53 100644
--- a/sky/engine/core/frame/LocalDOMWindow.h
+++ b/sky/engine/core/frame/LocalDOMWindow.h
@@ -67,6 +67,7 @@ class ScheduledAction;
class Screen;
class ScriptCallStack;
class StyleMedia;
+class Tracing;
enum PageshowEventPersistence {
PageshowEventNotPersisted = 0,
@@ -124,6 +125,8 @@ public:
int screenLeft() const { return screenX(); }
int screenTop() const { return screenY(); }
+ Tracing& tracing() const;
+
// FIXME(sky): keeping self for now since js-test.html uses it.
LocalDOMWindow* window() const;
@@ -232,7 +235,7 @@ private:
mutable RefPtr<Screen> m_screen;
mutable RefPtr<Location> m_location;
-
+ mutable RefPtr<Tracing> m_tracing;
mutable RefPtr<DOMWindowCSS> m_css;
RefPtr<DOMWindowEventQueue> m_eventQueue;
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698