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

Side by Side Diff: third_party/WebKit/Source/core/timing/DOMWindowPerformance.h

Issue 2150443002: Supplement should have a Member to the corresponding Supplementable object (Part 1) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 4 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 DOMWindowPerformance_h 5 #ifndef DOMWindowPerformance_h
6 #define DOMWindowPerformance_h 6 #define DOMWindowPerformance_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/frame/DOMWindowProperty.h" 9 #include "core/frame/DOMWindowProperty.h"
10 #include "core/frame/LocalDOMWindow.h"
10 #include "platform/Supplementable.h" 11 #include "platform/Supplementable.h"
11 #include "platform/heap/Handle.h" 12 #include "platform/heap/Handle.h"
12 #include "wtf/Noncopyable.h" 13 #include "wtf/Noncopyable.h"
13 14
14 namespace blink { 15 namespace blink {
15 16
16 class DOMWindow; 17 class DOMWindow;
17 class Performance; 18 class Performance;
18 19
19 class CORE_EXPORT DOMWindowPerformance final : public GarbageCollected<DOMWindow Performance>, public Supplement<LocalDOMWindow>, public DOMWindowProperty { 20 class CORE_EXPORT DOMWindowPerformance final : public GarbageCollected<DOMWindow Performance>, public Supplement<LocalDOMWindow>, public DOMWindowProperty {
(...skipping 12 matching lines...) Expand all
32 Performance* performance(); 33 Performance* performance();
33 34
34 // TODO(sof): try to move this direct reference and instead rely on frame(). 35 // TODO(sof): try to move this direct reference and instead rely on frame().
35 Member<LocalDOMWindow> m_window; 36 Member<LocalDOMWindow> m_window;
36 Member<Performance> m_performance; 37 Member<Performance> m_performance;
37 }; 38 };
38 39
39 } // namespace blink 40 } // namespace blink
40 41
41 #endif // DOMWindowPerformance_h 42 #endif // DOMWindowPerformance_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/ChromeClient.h ('k') | third_party/WebKit/Source/core/workers/WorkerNavigator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698