Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / web / ContextMenuAllowedScope.h
blob376f23cdd9722ccb5d80863d036207d13e2cff1d
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ContextMenuAllowedScope_h
6 #define ContextMenuAllowedScope_h
8 #include "wtf/Allocator.h"
10 namespace blink {
12 class ContextMenuAllowedScope {
13 STACK_ALLOCATED();
15 public:
16 ContextMenuAllowedScope();
17 ~ContextMenuAllowedScope();
19 static bool isContextMenuAllowed();
22 } // namespace blink
24 #endif // ContextMenuAllowedScope_h