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

Side by Side Diff: third_party/WebKit/Source/core/frame/PerformanceMonitor.h

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 PerformanceMonitor_h 5 #ifndef PerformanceMonitor_h
6 #define PerformanceMonitor_h 6 #define PerformanceMonitor_h
7 7
8 #include <v8.h>
8 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
10 #include "public/platform/WebThread.h" 11 #include "public/platform/WebThread.h"
11 #include "public/platform/scheduler/base/task_time_observer.h" 12 #include "public/platform/scheduler/base/task_time_observer.h"
12 #include "wtf/text/AtomicString.h" 13 #include "wtf/text/AtomicString.h"
13 #include <v8.h>
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class DOMWindow; 17 class DOMWindow;
18 class Document; 18 class Document;
19 class ExecutionContext; 19 class ExecutionContext;
20 class Frame; 20 class Frame;
21 class LocalFrame; 21 class LocalFrame;
22 class Performance; 22 class Performance;
23 class SourceLocation; 23 class SourceLocation;
(...skipping 14 matching lines...) Expand all
38 kBlockedEvent, 38 kBlockedEvent,
39 kBlockedParser, 39 kBlockedParser,
40 kDiscouragedAPIUse, 40 kDiscouragedAPIUse,
41 kHandler, 41 kHandler,
42 kRecurringHandler, 42 kRecurringHandler,
43 kAfterLast 43 kAfterLast
44 }; 44 };
45 45
46 class CORE_EXPORT HandlerCall { 46 class CORE_EXPORT HandlerCall {
47 STACK_ALLOCATED(); 47 STACK_ALLOCATED();
48
48 public: 49 public:
49 HandlerCall(ExecutionContext*, bool recurring); 50 HandlerCall(ExecutionContext*, bool recurring);
50 HandlerCall(ExecutionContext*, const char* name, bool recurring); 51 HandlerCall(ExecutionContext*, const char* name, bool recurring);
51 HandlerCall(ExecutionContext*, const AtomicString& name, bool recurring); 52 HandlerCall(ExecutionContext*, const AtomicString& name, bool recurring);
52 ~HandlerCall(); 53 ~HandlerCall();
53 54
54 private: 55 private:
55 Member<PerformanceMonitor> m_performanceMonitor; 56 Member<PerformanceMonitor> m_performanceMonitor;
56 }; 57 };
57 58
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 HeapHashMap<Violation, 152 HeapHashMap<Violation,
152 Member<ClientThresholds>, 153 Member<ClientThresholds>,
153 typename DefaultHash<size_t>::Hash, 154 typename DefaultHash<size_t>::Hash,
154 WTF::UnsignedWithZeroKeyHashTraits<size_t>> 155 WTF::UnsignedWithZeroKeyHashTraits<size_t>>
155 m_subscriptions; 156 m_subscriptions;
156 }; 157 };
157 158
158 } // namespace blink 159 } // namespace blink
159 160
160 #endif // PerformanceMonitor_h 161 #endif // PerformanceMonitor_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/PageScaleConstraintsSet.h ('k') | third_party/WebKit/Source/core/frame/Settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698