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

Side by Side Diff: Source/core/dom/NamedFlow.cpp

Issue 26890003: Remove ThreadLocalEventNames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix build Created 7 years, 2 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/MessagePort.cpp ('k') | Source/core/dom/Node.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) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 if (flowState() == FlowStateNull) 225 if (flowState() == FlowStateNull)
226 return; 226 return;
227 227
228 RefPtr<Event> event = UIEvent::create(EventTypeNames::webkitregionoversetcha nge, false, false, m_flowManager->document()->defaultView(), 0); 228 RefPtr<Event> event = UIEvent::create(EventTypeNames::webkitregionoversetcha nge, false, false, m_flowManager->document()->defaultView(), 0);
229 229
230 dispatchEvent(event); 230 dispatchEvent(event);
231 } 231 }
232 232
233 const AtomicString& NamedFlow::interfaceName() const 233 const AtomicString& NamedFlow::interfaceName() const
234 { 234 {
235 return eventNames().interfaceForNamedFlow; 235 return EventTargetNames::NamedFlow;
236 } 236 }
237 237
238 ExecutionContext* NamedFlow::executionContext() const 238 ExecutionContext* NamedFlow::executionContext() const
239 { 239 {
240 return m_flowManager->document(); 240 return m_flowManager->document();
241 } 241 }
242 242
243 Node* NamedFlow::ownerNode() const 243 Node* NamedFlow::ownerNode() const
244 { 244 {
245 return m_flowManager->document(); 245 return m_flowManager->document();
246 } 246 }
247 247
248 } // namespace WebCore 248 } // namespace WebCore
249 249
OLDNEW
« no previous file with comments | « Source/core/dom/MessagePort.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698