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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationConnection.h

Issue 2730123003: [Presentation API] Add layout test for connection.close() and fix test failures (Closed)
Patch Set: Created 3 years, 10 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
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 263baa97f7bbc706b73f845e192700ee03513e70..fceb2e020d4d94e09f47ea55b7c55edbc5ef990e 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
@@ -81,14 +81,13 @@ class PresentationConnection final : public EventTargetWithInlineData,
// |url|.
bool matches(const String& id, const KURL&) const;
- // Notifies the connection about its state change to 'closed'.
- void didClose(WebPresentationConnectionCloseReason, const String& message);
-
// WebPresentationConnection implementation.
void bindProxy(std::unique_ptr<WebPresentationConnectionProxy>) override;
void didReceiveTextMessage(const WebString& message) override;
void didReceiveBinaryMessage(const uint8_t* data, size_t length) override;
void didChangeState(WebPresentationConnectionState) override;
+ void didClose(WebPresentationConnectionCloseReason,
+ const WebString& message) override;
WebPresentationConnectionState getState();
void didChangeState(WebPresentationConnectionState, bool shouldDispatchEvent);

Powered by Google App Engine
This is Rietveld 408576698