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

Side by Side Diff: Source/core/timing/PerformanceRenderTiming.h

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/timing/PerformanceMeasure.h ('k') | Source/core/timing/PerformanceResourceTiming.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2015 Google Inc. All rights reserved. 2 * Copyright (C) 2015 Google Inc. All rights reserved.
3 * Copyright (C) 2015 Intel Inc. All rights reserved. 3 * Copyright (C) 2015 Intel Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class PerformanceRenderTiming final : public PerformanceEntry { 44 class PerformanceRenderTiming final : public PerformanceEntry {
45 DEFINE_WRAPPERTYPEINFO(); 45 DEFINE_WRAPPERTYPEINFO();
46 public: 46 public:
47 static PerformanceRenderTiming* create(Document* requestingDocument, unsigne d sourceFrame, double startTime, double finishTime) 47 static PerformanceRenderTiming* create(Document* requestingDocument, unsigne d sourceFrame, double startTime, double finishTime)
48 { 48 {
49 return new PerformanceRenderTiming(requestingDocument, sourceFrame, star tTime, finishTime); 49 return new PerformanceRenderTiming(requestingDocument, sourceFrame, star tTime, finishTime);
50 } 50 }
51 51
52 unsigned sourceFrame() const; 52 unsigned sourceFrame() const;
53 53
54 virtual bool isRender() override { return true; } 54 bool isRender() override { return true; }
55 55
56 DECLARE_VIRTUAL_TRACE(); 56 DECLARE_VIRTUAL_TRACE();
57 57
58 private: 58 private:
59 PerformanceRenderTiming(Document* requestingDocument, unsigned sourceFrame, double startTime, double finishTime); 59 PerformanceRenderTiming(Document* requestingDocument, unsigned sourceFrame, double startTime, double finishTime);
60 virtual ~PerformanceRenderTiming(); 60 ~PerformanceRenderTiming() override;
61 61
62 unsigned m_sourceFrame; 62 unsigned m_sourceFrame;
63 RefPtrWillBeMember<Document> m_requestingDocument; 63 RefPtrWillBeMember<Document> m_requestingDocument;
64 }; 64 };
65 65
66 } // namespace blink 66 } // namespace blink
67 67
68 #endif // PerformanceRenderTiming_h 68 #endif // PerformanceRenderTiming_h
OLDNEW
« no previous file with comments | « Source/core/timing/PerformanceMeasure.h ('k') | Source/core/timing/PerformanceResourceTiming.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698