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

Side by Side Diff: third_party/WebKit/Source/platform/EventDispatchForbiddenScope.h

Issue 1818233003: Merge WTF::initializeMainThread into WTF::initialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EventDispatchForbiddenScope_h 5 #ifndef EventDispatchForbiddenScope_h
6 #define EventDispatchForbiddenScope_h 6 #define EventDispatchForbiddenScope_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 #include "wtf/Assertions.h" 10 #include "wtf/Assertions.h"
11 #include "wtf/MainThread.h"
12 #include "wtf/TemporaryChange.h" 11 #include "wtf/TemporaryChange.h"
13 12
14 namespace blink { 13 namespace blink {
15 14
16 #if ENABLE(ASSERT) 15 #if ENABLE(ASSERT)
17 16
18 class EventDispatchForbiddenScope { 17 class EventDispatchForbiddenScope {
19 STACK_ALLOCATED(); 18 STACK_ALLOCATED();
20 WTF_MAKE_NONCOPYABLE(EventDispatchForbiddenScope); 19 WTF_MAKE_NONCOPYABLE(EventDispatchForbiddenScope);
21 public: 20 public:
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 public: 71 public:
73 AllowUserAgentEvents() { } 72 AllowUserAgentEvents() { }
74 }; 73 };
75 }; 74 };
76 75
77 #endif // ENABLE(ASSERT) 76 #endif // ENABLE(ASSERT)
78 77
79 } // namespace blink 78 } // namespace blink
80 79
81 #endif // EventDispatchForbiddenScope_h 80 #endif // EventDispatchForbiddenScope_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698