| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 ASSERT(m_private.get()); | 158 ASSERT(m_private.get()); |
| 159 return m_private->hasInterface(EventNames::WheelEvent); | 159 return m_private->hasInterface(EventNames::WheelEvent); |
| 160 } | 160 } |
| 161 | 161 |
| 162 bool WebDOMEvent::isBeforeTextInsertedEvent() const | 162 bool WebDOMEvent::isBeforeTextInsertedEvent() const |
| 163 { | 163 { |
| 164 ASSERT(m_private.get()); | 164 ASSERT(m_private.get()); |
| 165 return m_private->isBeforeTextInsertedEvent(); | 165 return m_private->isBeforeTextInsertedEvent(); |
| 166 } | 166 } |
| 167 | 167 |
| 168 bool WebDOMEvent::isOverflowEvent() const | |
| 169 { | |
| 170 ASSERT(m_private.get()); | |
| 171 return m_private->hasInterface(EventNames::OverflowEvent); | |
| 172 } | |
| 173 | |
| 174 bool WebDOMEvent::isPageTransitionEvent() const | 168 bool WebDOMEvent::isPageTransitionEvent() const |
| 175 { | 169 { |
| 176 ASSERT(m_private.get()); | 170 ASSERT(m_private.get()); |
| 177 return m_private->hasInterface(EventNames::PageTransitionEvent); | 171 return m_private->hasInterface(EventNames::PageTransitionEvent); |
| 178 } | 172 } |
| 179 | 173 |
| 180 bool WebDOMEvent::isPopStateEvent() const | 174 bool WebDOMEvent::isPopStateEvent() const |
| 181 { | 175 { |
| 182 ASSERT(m_private.get()); | 176 ASSERT(m_private.get()); |
| 183 return m_private->hasInterface(EventNames::PopStateEvent); | 177 return m_private->hasInterface(EventNames::PopStateEvent); |
| 184 } | 178 } |
| 185 | 179 |
| 186 bool WebDOMEvent::isProgressEvent() const | 180 bool WebDOMEvent::isProgressEvent() const |
| 187 { | 181 { |
| 188 ASSERT(m_private.get()); | 182 ASSERT(m_private.get()); |
| 189 return m_private->hasInterface(EventNames::ProgressEvent); | 183 return m_private->hasInterface(EventNames::ProgressEvent); |
| 190 } | 184 } |
| 191 | 185 |
| 192 bool WebDOMEvent::isXMLHttpRequestProgressEvent() const | 186 bool WebDOMEvent::isXMLHttpRequestProgressEvent() const |
| 193 { | 187 { |
| 194 ASSERT(m_private.get()); | 188 ASSERT(m_private.get()); |
| 195 return m_private->hasInterface(EventNames::XMLHttpRequestProgressEvent); | 189 return m_private->hasInterface(EventNames::XMLHttpRequestProgressEvent); |
| 196 } | 190 } |
| 197 | 191 |
| 198 } // namespace blink | 192 } // namespace blink |
| OLD | NEW |