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

Side by Side Diff: public/web/WebContentSettingsClient.h

Issue 1005223002: Blink: Replace all "plug-in" with "plugin". (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert netscape-dom-access tests. Created 5 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
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 WebContentSettingsClient_h 5 #ifndef WebContentSettingsClient_h
6 #define WebContentSettingsClient_h 6 #define WebContentSettingsClient_h
7 7
8 #include "public/platform/WebPermissionCallbacks.h" 8 #include "public/platform/WebPermissionCallbacks.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual bool allowWriteToClipboard(bool defaultValue) { return defaultValue; } 71 virtual bool allowWriteToClipboard(bool defaultValue) { return defaultValue; }
72 72
73 // Controls whether enabling Web Components API for this frame. 73 // Controls whether enabling Web Components API for this frame.
74 virtual bool allowWebComponents(bool defaultValue) { return defaultValue; } 74 virtual bool allowWebComponents(bool defaultValue) { return defaultValue; }
75 75
76 // Controls whether to enable MutationEvents for this frame. 76 // Controls whether to enable MutationEvents for this frame.
77 // The common use case of this method is actually to selectively disable Mut ationEvents, 77 // The common use case of this method is actually to selectively disable Mut ationEvents,
78 // but it's been named for consistency with the rest of the interface. 78 // but it's been named for consistency with the rest of the interface.
79 virtual bool allowMutationEvents(bool defaultValue) { return defaultValue; } 79 virtual bool allowMutationEvents(bool defaultValue) { return defaultValue; }
80 80
81 // Notifies the client that the frame would have instantiated a plug-in if p lug-ins were enabled. 81 // Notifies the client that the frame would have instantiated a plugin if pl ugins were enabled.
82 virtual void didNotAllowPlugins() { } 82 virtual void didNotAllowPlugins() { }
83 83
84 // Notifies the client that the frame would have executed script if script w ere enabled. 84 // Notifies the client that the frame would have executed script if script w ere enabled.
85 virtual void didNotAllowScript() { } 85 virtual void didNotAllowScript() { }
86 86
87 protected: 87 protected:
88 ~WebContentSettingsClient() { } 88 ~WebContentSettingsClient() { }
89 }; 89 };
90 90
91 } // namespace blink 91 } // namespace blink
92 92
93 #endif // WebContentSettingsClient_h 93 #endif // WebContentSettingsClient_h
OLDNEW
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698