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

Side by Side Diff: third_party/WebKit/Source/modules/vr/VRDisplay.h

Issue 2629593004: Disambiguate LifecycleObserver::contextDestroyed (Closed)
Patch Set: temp Created 3 years, 11 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 VRDisplay_h 5 #ifndef VRDisplay_h
6 #define VRDisplay_h 6 #define VRDisplay_h
7 7
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/dom/FrameRequestCallback.h" 9 #include "core/dom/FrameRequestCallback.h"
10 #include "core/events/EventTarget.h" 10 #include "core/events/EventTarget.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 void submitFrame(); 82 void submitFrame();
83 83
84 Document* document(); 84 Document* document();
85 85
86 // EventTarget overrides: 86 // EventTarget overrides:
87 ExecutionContext* getExecutionContext() const override; 87 ExecutionContext* getExecutionContext() const override;
88 const AtomicString& interfaceName() const override; 88 const AtomicString& interfaceName() const override;
89 89
90 // ContextLifecycleObserver implementation. 90 // ContextLifecycleObserver implementation.
91 void contextDestroyed() override; 91 void contextDestroyed(ExecutionContext*) override;
92 92
93 // ScriptWrappable implementation. 93 // ScriptWrappable implementation.
94 bool hasPendingActivity() const final; 94 bool hasPendingActivity() const final;
95 95
96 DECLARE_VIRTUAL_TRACE(); 96 DECLARE_VIRTUAL_TRACE();
97 97
98 protected: 98 protected:
99 friend class VRController; 99 friend class VRController;
100 100
101 VRDisplay(NavigatorVR*, 101 VRDisplay(NavigatorVR*,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 ServiceInactive = 11, 187 ServiceInactive = 11,
188 RequestDenied = 12, 188 RequestDenied = 12,
189 PresentationResultMax, // Must be last member of enum. 189 PresentationResultMax, // Must be last member of enum.
190 }; 190 };
191 191
192 void ReportPresentationResult(PresentationResult); 192 void ReportPresentationResult(PresentationResult);
193 193
194 } // namespace blink 194 } // namespace blink
195 195
196 #endif // VRDisplay_h 196 #endif // VRDisplay_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRController.cpp ('k') | third_party/WebKit/Source/modules/vr/VRDisplay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698