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

Side by Side Diff: sky/engine/web/WebDOMEvent.cpp

Issue 676723003: Remove postMessage, MessageChannel and MessagePort. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/engine/web/FrameLoaderClientImpl.cpp ('k') | sky/engine/web/WebDOMMessageEvent.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) 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
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
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
OLDNEW
« no previous file with comments | « sky/engine/web/FrameLoaderClientImpl.cpp ('k') | sky/engine/web/WebDOMMessageEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698