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

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

Issue 132233004: Update remaining core classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/testing/MockPagePopupDriver.h ('k') | Source/core/timing/PerformanceMark.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 namespace WebCore { 47 namespace WebCore {
48 48
49 class Document; 49 class Document;
50 class ExceptionState; 50 class ExceptionState;
51 class ResourceRequest; 51 class ResourceRequest;
52 class ResourceResponse; 52 class ResourceResponse;
53 class ResourceTimingInfo; 53 class ResourceTimingInfo;
54 class UserTiming; 54 class UserTiming;
55 55
56 class Performance : public ScriptWrappable, public RefCounted<Performance>, publ ic DOMWindowProperty, public EventTargetWithInlineData { 56 class Performance FINAL : public ScriptWrappable, public RefCounted<Performance> , public DOMWindowProperty, public EventTargetWithInlineData {
57 REFCOUNTED_EVENT_TARGET(Performance); 57 REFCOUNTED_EVENT_TARGET(Performance);
58 public: 58 public:
59 static PassRefPtr<Performance> create(Frame* frame) { return adoptRef(new Pe rformance(frame)); } 59 static PassRefPtr<Performance> create(Frame* frame) { return adoptRef(new Pe rformance(frame)); }
60 ~Performance(); 60 virtual ~Performance();
61 61
62 virtual const AtomicString& interfaceName() const OVERRIDE; 62 virtual const AtomicString& interfaceName() const OVERRIDE;
63 virtual ExecutionContext* executionContext() const OVERRIDE; 63 virtual ExecutionContext* executionContext() const OVERRIDE;
64 64
65 PassRefPtr<MemoryInfo> memory() const; 65 PassRefPtr<MemoryInfo> memory() const;
66 PerformanceNavigation* navigation() const; 66 PerformanceNavigation* navigation() const;
67 PerformanceTiming* timing() const; 67 PerformanceTiming* timing() const;
68 double now() const; 68 double now() const;
69 69
70 Vector<RefPtr<PerformanceEntry> > getEntries() const; 70 Vector<RefPtr<PerformanceEntry> > getEntries() const;
(...skipping 25 matching lines...) Expand all
96 Vector<RefPtr<PerformanceEntry> > m_resourceTimingBuffer; 96 Vector<RefPtr<PerformanceEntry> > m_resourceTimingBuffer;
97 unsigned m_resourceTimingBufferSize; 97 unsigned m_resourceTimingBufferSize;
98 double m_referenceTime; 98 double m_referenceTime;
99 99
100 RefPtr<UserTiming> m_userTiming; 100 RefPtr<UserTiming> m_userTiming;
101 }; 101 };
102 102
103 } 103 }
104 104
105 #endif // Performance_h 105 #endif // Performance_h
OLDNEW
« no previous file with comments | « Source/core/testing/MockPagePopupDriver.h ('k') | Source/core/timing/PerformanceMark.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698