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

Side by Side Diff: Source/core/xml/XMLHttpRequest.cpp

Issue 23243002: Introduce XMLHttpRequestEventTarget IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update event-target-in-prototype.html test case Created 7 years, 4 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/xml/XMLHttpRequest.h ('k') | Source/core/xml/XMLHttpRequest.idl » ('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) 2004, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org> 3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org>
4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org> 4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org>
5 * Copyright (C) 2008, 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2008, 2011 Google Inc. All rights reserved.
6 * Copyright (C) 2012 Intel Corporation 6 * Copyright (C) 2012 Intel Corporation
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 const AtomicString& XMLHttpRequest::interfaceName() const 1234 const AtomicString& XMLHttpRequest::interfaceName() const
1235 { 1235 {
1236 return eventNames().interfaceForXMLHttpRequest; 1236 return eventNames().interfaceForXMLHttpRequest;
1237 } 1237 }
1238 1238
1239 ScriptExecutionContext* XMLHttpRequest::scriptExecutionContext() const 1239 ScriptExecutionContext* XMLHttpRequest::scriptExecutionContext() const
1240 { 1240 {
1241 return ActiveDOMObject::scriptExecutionContext(); 1241 return ActiveDOMObject::scriptExecutionContext();
1242 } 1242 }
1243 1243
1244 EventTargetData* XMLHttpRequest::eventTargetData()
1245 {
1246 return &m_eventTargetData;
1247 }
1248
1249 EventTargetData* XMLHttpRequest::ensureEventTargetData()
1250 {
1251 return &m_eventTargetData;
1252 }
1253
1254 } // namespace WebCore 1244 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/xml/XMLHttpRequest.h ('k') | Source/core/xml/XMLHttpRequest.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698