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

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

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Address comments. Created 7 years 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/page/EventSource.h ('k') | Source/core/svg/SVGElement.cpp » ('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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 class UserTiming; 52 class UserTiming;
53 53
54 class Performance : public RefCountedGarbageCollected<Performance>, public Scrip tWrappable, public DOMWindowProperty, public EventTarget { 54 class Performance : public RefCountedGarbageCollected<Performance>, public Scrip tWrappable, public DOMWindowProperty, public EventTarget {
55 DECLARE_GC_INFO 55 DECLARE_GC_INFO
56 public: 56 public:
57 static PassRefPtr<Performance> create(Frame* frame) { return adoptRef(new Pe rformance(frame)); } 57 static PassRefPtr<Performance> create(Frame* frame) { return adoptRef(new Pe rformance(frame)); }
58 ~Performance(); 58 ~Performance();
59 59
60 virtual void trace(Visitor*) { } 60 virtual void trace(Visitor*) { }
61 61
62 virtual void visitWith(Visitor* visitor) const OVERRIDE 62 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
63 { 63 {
64 visitor->visit(this); 64 visitor->mark(this);
65 } 65 }
66 66
67 virtual const AtomicString& interfaceName() const; 67 virtual const AtomicString& interfaceName() const;
68 virtual ScriptExecutionContext* scriptExecutionContext() const; 68 virtual ScriptExecutionContext* scriptExecutionContext() const;
69 69
70 PassRefPtr<MemoryInfo> memory() const; 70 PassRefPtr<MemoryInfo> memory() const;
71 PerformanceNavigation* navigation() const; 71 PerformanceNavigation* navigation() const;
72 PerformanceTiming* timing() const; 72 PerformanceTiming* timing() const;
73 double now() const; 73 double now() const;
74 74
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 Vector<RefPtr<PerformanceEntry> > m_resourceTimingBuffer; 107 Vector<RefPtr<PerformanceEntry> > m_resourceTimingBuffer;
108 unsigned m_resourceTimingBufferSize; 108 unsigned m_resourceTimingBufferSize;
109 109
110 RefPtr<UserTiming> m_userTiming; 110 RefPtr<UserTiming> m_userTiming;
111 }; 111 };
112 112
113 } 113 }
114 114
115 #endif // Performance_h 115 #endif // Performance_h
OLDNEW
« no previous file with comments | « Source/core/page/EventSource.h ('k') | Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698