| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 ASSERT(m_private.get()); | 140 ASSERT(m_private.get()); |
| 141 return m_private->isDragEvent(); | 141 return m_private->isDragEvent(); |
| 142 } | 142 } |
| 143 | 143 |
| 144 bool WebDOMEvent::isClipboardEvent() const | 144 bool WebDOMEvent::isClipboardEvent() const |
| 145 { | 145 { |
| 146 ASSERT(m_private.get()); | 146 ASSERT(m_private.get()); |
| 147 return m_private->isClipboardEvent(); | 147 return m_private->isClipboardEvent(); |
| 148 } | 148 } |
| 149 | 149 |
| 150 bool WebDOMEvent::isMessageEvent() const | |
| 151 { | |
| 152 ASSERT(m_private.get()); | |
| 153 return m_private->hasInterface(EventNames::MessageEvent); | |
| 154 } | |
| 155 | |
| 156 bool WebDOMEvent::isWheelEvent() const | 150 bool WebDOMEvent::isWheelEvent() const |
| 157 { | 151 { |
| 158 ASSERT(m_private.get()); | 152 ASSERT(m_private.get()); |
| 159 return m_private->hasInterface(EventNames::WheelEvent); | 153 return m_private->hasInterface(EventNames::WheelEvent); |
| 160 } | 154 } |
| 161 | 155 |
| 162 bool WebDOMEvent::isBeforeTextInsertedEvent() const | 156 bool WebDOMEvent::isBeforeTextInsertedEvent() const |
| 163 { | 157 { |
| 164 ASSERT(m_private.get()); | 158 ASSERT(m_private.get()); |
| 165 return m_private->isBeforeTextInsertedEvent(); | 159 return m_private->isBeforeTextInsertedEvent(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 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 } // namespace blink | 186 } // namespace blink |
| OLD | NEW |