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

Side by Side Diff: Source/core/events/OverflowEvent.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/events/MutationEvent.cpp ('k') | Source/core/events/PageTransitionEvent.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) 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007 Apple Inc. 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 : Event(type, initializer) 66 : Event(type, initializer)
67 , m_orient(initializer.orient) 67 , m_orient(initializer.orient)
68 , m_horizontalOverflow(initializer.horizontalOverflow) 68 , m_horizontalOverflow(initializer.horizontalOverflow)
69 , m_verticalOverflow(initializer.verticalOverflow) 69 , m_verticalOverflow(initializer.verticalOverflow)
70 { 70 {
71 ScriptWrappable::init(this); 71 ScriptWrappable::init(this);
72 } 72 }
73 73
74 const AtomicString& OverflowEvent::interfaceName() const 74 const AtomicString& OverflowEvent::interfaceName() const
75 { 75 {
76 return eventNames().interfaceForOverflowEvent; 76 return EventNames::OverflowEvent;
77 } 77 }
78 78
79 void OverflowEvent::initOverflowEvent(unsigned short orient, bool horizontalOver flow, bool verticalOverflow) 79 void OverflowEvent::initOverflowEvent(unsigned short orient, bool horizontalOver flow, bool verticalOverflow)
80 { 80 {
81 if (dispatched()) 81 if (dispatched())
82 return; 82 return;
83 83
84 m_orient = orient; 84 m_orient = orient;
85 m_horizontalOverflow = horizontalOverflow; 85 m_horizontalOverflow = horizontalOverflow;
86 m_verticalOverflow = verticalOverflow; 86 m_verticalOverflow = verticalOverflow;
87 } 87 }
88 88
89 } 89 }
OLDNEW
« no previous file with comments | « Source/core/events/MutationEvent.cpp ('k') | Source/core/events/PageTransitionEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698