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

Unified Diff: Source/core/dom/CompositorProxy.h

Issue 1064123002: compositor-worker: Introduce CompositorProxy::disconnect(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix-win-for-realz Created 5 years, 8 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 | « Source/bindings/core/v8/ScriptValueSerializer.cpp ('k') | Source/core/dom/CompositorProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/CompositorProxy.h
diff --git a/Source/core/dom/CompositorProxy.h b/Source/core/dom/CompositorProxy.h
index e3d5379025e9a07f8bebc5200a9d8151e157470c..76a77528854946cd0dc179e31a96c7b2c117af1b 100644
--- a/Source/core/dom/CompositorProxy.h
+++ b/Source/core/dom/CompositorProxy.h
@@ -45,6 +45,9 @@ public:
uint32_t bitfieldsSupported() const { return m_bitfieldsSupported; }
bool supports(const String& attribute) const;
+ bool connected() const { return m_connected; }
+ void disconnect();
+
double opacity(ExceptionState&) const;
double scrollLeft(ExceptionState&) const;
double scrollTop(ExceptionState&) const;
@@ -70,6 +73,8 @@ private:
double m_scrollLeft = 0;
double m_scrollTop = 0;
Member<DOMMatrix> m_transform;
+
+ bool m_connected = true;
};
} // namespace blink
« no previous file with comments | « Source/bindings/core/v8/ScriptValueSerializer.cpp ('k') | Source/core/dom/CompositorProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698