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

Side by Side Diff: sky/engine/core/events/EventTarget.cpp

Issue 676723003: Remove postMessage, MessageChannel and MessagePort. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/core/events/EventTarget.h ('k') | sky/engine/core/events/EventTargetFactory.in » ('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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 6 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
7 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 7 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 Node* EventTarget::toNode() 69 Node* EventTarget::toNode()
70 { 70 {
71 return 0; 71 return 0;
72 } 72 }
73 73
74 LocalDOMWindow* EventTarget::toDOMWindow() 74 LocalDOMWindow* EventTarget::toDOMWindow()
75 { 75 {
76 return 0; 76 return 0;
77 } 77 }
78 78
79 MessagePort* EventTarget::toMessagePort()
80 {
81 return 0;
82 }
83
84 inline LocalDOMWindow* EventTarget::executingWindow() 79 inline LocalDOMWindow* EventTarget::executingWindow()
85 { 80 {
86 if (ExecutionContext* context = executionContext()) 81 if (ExecutionContext* context = executionContext())
87 return context->executingWindow(); 82 return context->executingWindow();
88 return 0; 83 return 0;
89 } 84 }
90 85
91 bool EventTarget::addEventListener(const AtomicString& eventType, PassRefPtr<Eve ntListener> listener, bool useCapture) 86 bool EventTarget::addEventListener(const AtomicString& eventType, PassRefPtr<Eve ntListener> listener, bool useCapture)
92 { 87 {
93 // FIXME: listener null check should throw TypeError (and be done in 88 // FIXME: listener null check should throw TypeError (and be done in
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 // they have one less listener to invoke. 363 // they have one less listener to invoke.
369 if (d->firingEventIterators) { 364 if (d->firingEventIterators) {
370 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) { 365 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) {
371 d->firingEventIterators->at(i).iterator = 0; 366 d->firingEventIterators->at(i).iterator = 0;
372 d->firingEventIterators->at(i).end = 0; 367 d->firingEventIterators->at(i).end = 0;
373 } 368 }
374 } 369 }
375 } 370 }
376 371
377 } // namespace blink 372 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/events/EventTarget.h ('k') | sky/engine/core/events/EventTargetFactory.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698