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

Side by Side Diff: Source/modules/presentation/PresentationRequest.h

Issue 1322123002: Presentation API: rename PresentationRequest.join() to reconnect(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix test Created 5 years, 3 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
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/presentation/PresentationRequest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 PresentationRequest_h 5 #ifndef PresentationRequest_h
6 #define PresentationRequest_h 6 #define PresentationRequest_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "core/dom/ActiveDOMObject.h" 9 #include "core/dom/ActiveDOMObject.h"
10 #include "core/events/EventTarget.h" 10 #include "core/events/EventTarget.h"
(...skipping 18 matching lines...) Expand all
29 29
30 // EventTarget implementation. 30 // EventTarget implementation.
31 const AtomicString& interfaceName() const override; 31 const AtomicString& interfaceName() const override;
32 ExecutionContext* executionContext() const override; 32 ExecutionContext* executionContext() const override;
33 bool addEventListener(const AtomicString& eventType, PassRefPtrWillBeRawPtr< EventListener>, bool capture) override; 33 bool addEventListener(const AtomicString& eventType, PassRefPtrWillBeRawPtr< EventListener>, bool capture) override;
34 34
35 // ActiveDOMObject implementation. 35 // ActiveDOMObject implementation.
36 bool hasPendingActivity() const; 36 bool hasPendingActivity() const;
37 37
38 ScriptPromise start(ScriptState*); 38 ScriptPromise start(ScriptState*);
39 ScriptPromise join(ScriptState*, const String& id); 39 ScriptPromise reconnect(ScriptState*, const String& id);
40 ScriptPromise getAvailability(ScriptState*); 40 ScriptPromise getAvailability(ScriptState*);
41 41
42 const KURL& url() const; 42 const KURL& url() const;
43 43
44 DEFINE_ATTRIBUTE_EVENT_LISTENER(sessionconnect); 44 DEFINE_ATTRIBUTE_EVENT_LISTENER(sessionconnect);
45 45
46 DECLARE_VIRTUAL_TRACE(); 46 DECLARE_VIRTUAL_TRACE();
47 47
48 private: 48 private:
49 PresentationRequest(ExecutionContext*, const KURL&); 49 PresentationRequest(ExecutionContext*, const KURL&);
50 50
51 KURL m_url; 51 KURL m_url;
52 }; 52 };
53 53
54 } // namespace blink 54 } // namespace blink
55 55
56 #endif // PresentationRequest_h 56 #endif // PresentationRequest_h
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/presentation/PresentationRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698