OLD | NEW |
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/WebContentSettingCallbacks.h" | 8 #include "public/platform/WebContentSettingCallbacks.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 plugin if pl
ugins 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 // Notifies the client that the frame instantiated a keygen element. |
| 88 virtual void didUseKeygen() { } |
| 89 |
87 virtual ~WebContentSettingsClient() { } | 90 virtual ~WebContentSettingsClient() { } |
88 }; | 91 }; |
89 | 92 |
90 } // namespace blink | 93 } // namespace blink |
91 | 94 |
92 #endif // WebContentSettingsClient_h | 95 #endif // WebContentSettingsClient_h |
OLD | NEW |