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

Side by Side Diff: third_party/WebKit/Source/modules/presentation/PresentationConnection.h

Issue 2396573002: reflow comments in modules/[presentation,storage] (Closed)
Patch Set: Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PresentationConnection_h 5 #ifndef PresentationConnection_h
6 #define PresentationConnection_h 6 #define PresentationConnection_h
7 7
8 #include "core/events/EventTarget.h" 8 #include "core/events/EventTarget.h"
9 #include "core/fileapi/Blob.h" 9 #include "core/fileapi/Blob.h"
10 #include "core/fileapi/FileError.h" 10 #include "core/fileapi/FileError.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 void terminate(); 66 void terminate();
67 67
68 String binaryType() const; 68 String binaryType() const;
69 void setBinaryType(const String&); 69 void setBinaryType(const String&);
70 70
71 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); 71 DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
72 DEFINE_ATTRIBUTE_EVENT_LISTENER(connect); 72 DEFINE_ATTRIBUTE_EVENT_LISTENER(connect);
73 DEFINE_ATTRIBUTE_EVENT_LISTENER(close); 73 DEFINE_ATTRIBUTE_EVENT_LISTENER(close);
74 DEFINE_ATTRIBUTE_EVENT_LISTENER(terminate); 74 DEFINE_ATTRIBUTE_EVENT_LISTENER(terminate);
75 75
76 // Returns true if and only if the WebPresentationConnectionClient represents this connection. 76 // Returns true if and only if the WebPresentationConnectionClient represents
77 // this connection.
77 bool matches(WebPresentationConnectionClient*) const; 78 bool matches(WebPresentationConnectionClient*) const;
78 79
79 // Notifies the connection about its state change. 80 // Notifies the connection about its state change.
80 void didChangeState(WebPresentationConnectionState); 81 void didChangeState(WebPresentationConnectionState);
81 82
82 // Notifies the connection about its state change to 'closed'. 83 // Notifies the connection about its state change to 'closed'.
83 void didClose(WebPresentationConnectionCloseReason, const String& message); 84 void didClose(WebPresentationConnectionCloseReason, const String& message);
84 85
85 // Notifies the presentation about new message. 86 // Notifies the presentation about new message.
86 void didReceiveTextMessage(const String& message); 87 void didReceiveTextMessage(const String& message);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // For Blob data handling. 124 // For Blob data handling.
124 Member<BlobLoader> m_blobLoader; 125 Member<BlobLoader> m_blobLoader;
125 HeapDeque<Member<Message>> m_messages; 126 HeapDeque<Member<Message>> m_messages;
126 127
127 BinaryType m_binaryType; 128 BinaryType m_binaryType;
128 }; 129 };
129 130
130 } // namespace blink 131 } // namespace blink
131 132
132 #endif // PresentationConnection_h 133 #endif // PresentationConnection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698