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

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

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp 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 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 "bindings/core/v8/ActiveScriptWrappable.h" 8 #include "bindings/core/v8/ActiveScriptWrappable.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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // WebPresentationAvailabilityObserver implementation. 45 // WebPresentationAvailabilityObserver implementation.
46 void availabilityChanged(bool) override; 46 void availabilityChanged(bool) override;
47 const WebURL url() const override; 47 const WebURL url() const override;
48 48
49 // ScriptWrappable implementation. 49 // ScriptWrappable implementation.
50 bool hasPendingActivity() const final; 50 bool hasPendingActivity() const final;
51 51
52 // ActiveDOMObject implementation. 52 // ActiveDOMObject implementation.
53 void suspend() override; 53 void suspend() override;
54 void resume() override; 54 void resume() override;
55 void stop() override; 55 void contextDestroyed() override;
56 56
57 // PageVisibilityObserver implementation. 57 // PageVisibilityObserver implementation.
58 void pageVisibilityChanged() override; 58 void pageVisibilityChanged() override;
59 59
60 bool value() const; 60 bool value() const;
61 61
62 DEFINE_ATTRIBUTE_EVENT_LISTENER(change); 62 DEFINE_ATTRIBUTE_EVENT_LISTENER(change);
63 63
64 DECLARE_VIRTUAL_TRACE(); 64 DECLARE_VIRTUAL_TRACE();
65 65
(...skipping 19 matching lines...) Expand all
85 void updateListening(); 85 void updateListening();
86 86
87 const KURL m_url; 87 const KURL m_url;
88 bool m_value; 88 bool m_value;
89 State m_state; 89 State m_state;
90 }; 90 };
91 91
92 } // namespace blink 92 } // namespace blink
93 93
94 #endif // PresentationAvailability_h 94 #endif // PresentationAvailability_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698