Index: third_party/WebKit/Source/modules/presentation/PresentationConnection.h |
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.h b/third_party/WebKit/Source/modules/presentation/PresentationConnection.h |
index 323c6a38f42c7c8e9b28cb3241ff5f630d0f2e07..c2e80f18f0322bdfba44637049958a5be0bfe7e1 100644 |
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.h |
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.h |
@@ -114,6 +114,10 @@ class PresentationConnection final : public EventTargetWithInlineData, |
void didFinishLoadingBlob(DOMArrayBuffer*); |
void didFailLoadingBlob(FileError::ErrorCode); |
+ // Internal helper function to dispatch connect event asynchronously. |
mark a. foltz
2016/12/07 04:23:55
...dispatch state change events...
zhaobin
2016/12/07 19:30:43
Done.
|
+ void dispatchEventAsync(Event*); |
+ void dispatchStateChangeEvent(Event*); |
+ |
// Cancel loads and pending messages when the connection is closed. |
void tearDown(); |