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

Side by Side Diff: Source/core/dom/Event.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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/dom/ElementShadow.cpp ('k') | Source/core/dom/Event.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) 2001 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de)
4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 Event* underlyingEvent() const { return m_underlyingEvent.get(); } 155 Event* underlyingEvent() const { return m_underlyingEvent.get(); }
156 void setUnderlyingEvent(PassRefPtr<Event>); 156 void setUnderlyingEvent(PassRefPtr<Event>);
157 157
158 virtual bool storesResultAsString() const; 158 virtual bool storesResultAsString() const;
159 virtual void storeResult(const String&); 159 virtual void storeResult(const String&);
160 160
161 virtual Clipboard* clipboard() const { return 0; } 161 virtual Clipboard* clipboard() const { return 0; }
162 162
163 bool isBeingDispatched() const { return eventPhase(); } 163 bool isBeingDispatched() const { return eventPhase(); }
164 164
165 virtual void reportMemoryUsage(MemoryObjectInfo*) const;
166
167 virtual PassRefPtr<Event> cloneFor(HTMLIFrameElement*) const; 165 virtual PassRefPtr<Event> cloneFor(HTMLIFrameElement*) const;
168 166
169 protected: 167 protected:
170 Event(); 168 Event();
171 Event(const AtomicString& type, bool canBubble, bool cancelable); 169 Event(const AtomicString& type, bool canBubble, bool cancelable);
172 Event(const AtomicString& type, const EventInit&); 170 Event(const AtomicString& type, const EventInit&);
173 171
174 virtual void receivedTarget(); 172 virtual void receivedTarget();
175 bool dispatched() const { return m_target; } 173 bool dispatched() const { return m_target; }
176 174
(...skipping 12 matching lines...) Expand all
189 EventTarget* m_currentTarget; 187 EventTarget* m_currentTarget;
190 RefPtr<EventTarget> m_target; 188 RefPtr<EventTarget> m_target;
191 DOMTimeStamp m_createTime; 189 DOMTimeStamp m_createTime;
192 190
193 RefPtr<Event> m_underlyingEvent; 191 RefPtr<Event> m_underlyingEvent;
194 }; 192 };
195 193
196 } // namespace WebCore 194 } // namespace WebCore
197 195
198 #endif // Event_h 196 #endif // Event_h
OLDNEW
« no previous file with comments | « Source/core/dom/ElementShadow.cpp ('k') | Source/core/dom/Event.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698