OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 13 matching lines...) Expand all Loading... |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebPermissionClient_h | 31 #ifndef WebPermissionClient_h |
32 #define WebPermissionClient_h | 32 #define WebPermissionClient_h |
33 | 33 |
34 namespace WebKit { | 34 namespace blink { |
35 | 35 |
36 class WebDocument; | 36 class WebDocument; |
37 class WebFrame; | 37 class WebFrame; |
38 class WebSecurityOrigin; | 38 class WebSecurityOrigin; |
39 class WebString; | 39 class WebString; |
40 class WebURL; | 40 class WebURL; |
41 | 41 |
42 class WebPermissionClient { | 42 class WebPermissionClient { |
43 public: | 43 public: |
44 // Controls whether access to Web Databases is allowed for this frame. | 44 // Controls whether access to Web Databases is allowed for this frame. |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // Notifies the client that the frame would have instantiated a plug-in if p
lug-ins were enabled. | 107 // Notifies the client that the frame would have instantiated a plug-in if p
lug-ins were enabled. |
108 virtual void didNotAllowPlugins(WebFrame*) { } | 108 virtual void didNotAllowPlugins(WebFrame*) { } |
109 | 109 |
110 // Notifies the client that the frame would have executed script if script w
ere enabled. | 110 // Notifies the client that the frame would have executed script if script w
ere enabled. |
111 virtual void didNotAllowScript(WebFrame*) { } | 111 virtual void didNotAllowScript(WebFrame*) { } |
112 | 112 |
113 protected: | 113 protected: |
114 ~WebPermissionClient() { } | 114 ~WebPermissionClient() { } |
115 }; | 115 }; |
116 | 116 |
117 } // namespace WebKit | 117 } // namespace blink |
118 | 118 |
119 #endif | 119 #endif |
OLD | NEW |