Chromium Code Reviews

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

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 PresentationAvailability_h 5 #ifndef PresentationAvailability_h
6 #define PresentationAvailability_h 6 #define PresentationAvailability_h
7 7
8 #include "core/dom/ActiveDOMObject.h" 8 #include "core/dom/ActiveDOMObject.h"
9 #include "core/events/EventTarget.h" 9 #include "core/events/EventTarget.h"
10 #include "core/page/PageLifecycleObserver.h" 10 #include "core/page/PageLifecycleObserver.h"
(...skipping 18 matching lines...)
29 , public WebPresentationAvailabilityObserver { 29 , public WebPresentationAvailabilityObserver {
30 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(PresentationAvailability); 30 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(PresentationAvailability);
31 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PresentationAvailability); 31 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PresentationAvailability);
32 DEFINE_WRAPPERTYPEINFO(); 32 DEFINE_WRAPPERTYPEINFO();
33 public: 33 public:
34 static PresentationAvailability* take(ScriptPromiseResolver*, const KURL&, b ool); 34 static PresentationAvailability* take(ScriptPromiseResolver*, const KURL&, b ool);
35 ~PresentationAvailability() override; 35 ~PresentationAvailability() override;
36 36
37 // EventTarget implementation. 37 // EventTarget implementation.
38 const AtomicString& interfaceName() const override; 38 const AtomicString& interfaceName() const override;
39 ExecutionContext* executionContext() const override; 39 ExecutionContext* getExecutionContext() const override;
40 40
41 // WebPresentationAvailabilityObserver implementation. 41 // WebPresentationAvailabilityObserver implementation.
42 void availabilityChanged(bool) override; 42 void availabilityChanged(bool) override;
43 const WebURL url() const override; 43 const WebURL url() const override;
44 44
45 // ActiveDOMObject implementation. 45 // ActiveDOMObject implementation.
46 bool hasPendingActivity() const override; 46 bool hasPendingActivity() const override;
47 void suspend() override; 47 void suspend() override;
48 void resume() override; 48 void resume() override;
49 void stop() override; 49 void stop() override;
(...skipping 28 matching lines...)
78 void updateListening(); 78 void updateListening();
79 79
80 const KURL m_url; 80 const KURL m_url;
81 bool m_value; 81 bool m_value;
82 State m_state; 82 State m_state;
83 }; 83 };
84 84
85 } // namespace blink 85 } // namespace blink
86 86
87 #endif // PresentationAvailability_h 87 #endif // PresentationAvailability_h
OLDNEW

Powered by Google App Engine