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

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

Issue 2788693002: Removing unnecessary "using" statements. (Closed)
Patch Set: Created 3 years, 8 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
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "core/frame/Settings.h" 48 #include "core/frame/Settings.h"
49 #include "core/frame/UseCounter.h" 49 #include "core/frame/UseCounter.h"
50 #include "core/probe/CoreProbes.h" 50 #include "core/probe/CoreProbes.h"
51 #include "platform/EventDispatchForbiddenScope.h" 51 #include "platform/EventDispatchForbiddenScope.h"
52 #include "platform/Histogram.h" 52 #include "platform/Histogram.h"
53 #include "wtf/PtrUtil.h" 53 #include "wtf/PtrUtil.h"
54 #include "wtf/StdLibExtras.h" 54 #include "wtf/StdLibExtras.h"
55 #include "wtf/Threading.h" 55 #include "wtf/Threading.h"
56 #include "wtf/Vector.h" 56 #include "wtf/Vector.h"
57 57
58 using namespace WTF;
59
60 namespace blink { 58 namespace blink {
61 namespace { 59 namespace {
62 60
63 enum PassiveForcedListenerResultType { 61 enum PassiveForcedListenerResultType {
64 PreventDefaultNotCalled, 62 PreventDefaultNotCalled,
65 DocumentLevelTouchPreventDefaultCalled, 63 DocumentLevelTouchPreventDefaultCalled,
66 PassiveForcedListenerResultTypeMax 64 PassiveForcedListenerResultTypeMax
67 }; 65 };
68 66
69 Event::PassiveMode eventPassiveMode( 67 Event::PassiveMode eventPassiveMode(
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 // they have one less listener to invoke. 769 // they have one less listener to invoke.
772 if (d->firingEventIterators) { 770 if (d->firingEventIterators) {
773 for (const auto& iterator : *d->firingEventIterators) { 771 for (const auto& iterator : *d->firingEventIterators) {
774 iterator.iterator = 0; 772 iterator.iterator = 0;
775 iterator.end = 0; 773 iterator.end = 0;
776 } 774 }
777 } 775 }
778 } 776 }
779 777
780 } // namespace blink 778 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/EventListenerMap.cpp ('k') | third_party/WebKit/Source/core/loader/ProgressTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698