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

Unified Diff: public/web/WebPluginScriptForbiddenScope.h

Issue 1170413003: Add a scoping object to help block scripting during plugin destruction. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename static counter Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/web.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebPluginScriptForbiddenScope.h
diff --git a/public/web/WebPluginScriptForbiddenScope.h b/public/web/WebPluginScriptForbiddenScope.h
new file mode 100644
index 0000000000000000000000000000000000000000..abea8450c8bfb707b27b527ef358c51ca79054dc
--- /dev/null
+++ b/public/web/WebPluginScriptForbiddenScope.h
@@ -0,0 +1,20 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebPluginScriptForbiddenScope_h
+#define WebPluginScriptForbiddenScope_h
+
+#include "public/platform/WebCommon.h"
+
+namespace blink {
+
+class BLINK_EXPORT WebPluginScriptForbiddenScope {
+public:
+ WebPluginScriptForbiddenScope() = delete;
+ static bool isForbidden();
+};
+
+} // namespace blink
+
+#endif // WebPluginScriptForbiddenScope_h
« no previous file with comments | « Source/web/web.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698