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

Side by Side Diff: third_party/WebKit/Source/core/events/EventTarget.cpp

Issue 1417023006: bindings: Refactors BindingSecurity::shouldAllowAccessToXXX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the assertion condition. Created 5 years 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
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 EventTarget::~EventTarget() 88 EventTarget::~EventTarget()
89 { 89 {
90 } 90 }
91 91
92 Node* EventTarget::toNode() 92 Node* EventTarget::toNode()
93 { 93 {
94 return nullptr; 94 return nullptr;
95 } 95 }
96 96
97 const LocalDOMWindow* EventTarget::toDOMWindow() const
98 {
99 return nullptr;
100 }
101
97 LocalDOMWindow* EventTarget::toDOMWindow() 102 LocalDOMWindow* EventTarget::toDOMWindow()
98 { 103 {
99 return nullptr; 104 return nullptr;
100 } 105 }
101 106
102 MessagePort* EventTarget::toMessagePort() 107 MessagePort* EventTarget::toMessagePort()
103 { 108 {
104 return nullptr; 109 return nullptr;
105 } 110 }
106 111
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 // they have one less listener to invoke. 470 // they have one less listener to invoke.
466 if (d->firingEventIterators) { 471 if (d->firingEventIterators) {
467 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) { 472 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) {
468 d->firingEventIterators->at(i).iterator = 0; 473 d->firingEventIterators->at(i).iterator = 0;
469 d->firingEventIterators->at(i).end = 0; 474 d->firingEventIterators->at(i).end = 0;
470 } 475 }
471 } 476 }
472 } 477 }
473 478
474 } // namespace blink 479 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.h ('k') | third_party/WebKit/Source/core/frame/DOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698