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

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

Issue 2265873003: binding: Moves hasPendingActivity from ActiveScriptWrappable to ScriptWrappable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments. Created 4 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
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 25 matching lines...) Expand all
36 ~PresentationAvailability() override; 36 ~PresentationAvailability() override;
37 37
38 // EventTarget implementation. 38 // EventTarget implementation.
39 const AtomicString& interfaceName() const override; 39 const AtomicString& interfaceName() const override;
40 ExecutionContext* getExecutionContext() const override; 40 ExecutionContext* getExecutionContext() const override;
41 41
42 // WebPresentationAvailabilityObserver implementation. 42 // WebPresentationAvailabilityObserver implementation.
43 void availabilityChanged(bool) override; 43 void availabilityChanged(bool) override;
44 const WebURL url() const override; 44 const WebURL url() const override;
45 45
46 // ActiveScriptWrappable implementation. 46 // ScriptWrappable implementation.
47 bool hasPendingActivity() const final; 47 bool hasPendingActivity() const final;
48 48
49 // ActiveDOMObject implementation. 49 // ActiveDOMObject implementation.
50 void suspend() override; 50 void suspend() override;
51 void resume() override; 51 void resume() override;
52 void stop() override; 52 void stop() override;
53 53
54 // PageVisibilityObserver implementation. 54 // PageVisibilityObserver implementation.
55 void pageVisibilityChanged() override; 55 void pageVisibilityChanged() override;
56 56
(...skipping 24 matching lines...) Expand all
81 void updateListening(); 81 void updateListening();
82 82
83 const KURL m_url; 83 const KURL m_url;
84 bool m_value; 84 bool m_value;
85 State m_state; 85 State m_state;
86 }; 86 };
87 87
88 } // namespace blink 88 } // namespace blink
89 89
90 #endif // PresentationAvailability_h 90 #endif // PresentationAvailability_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698