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

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

Issue 776693002: Clean forward declaration in public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix fakewebplugin Created 6 years 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 | « public/web/WebLocalFrame.h ('k') | public/web/WebPlugin.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 17 matching lines...) Expand all
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 #include "public/platform/WebPermissionCallbacks.h" 34 #include "public/platform/WebPermissionCallbacks.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class WebDocument;
39 class WebSecurityOrigin; 38 class WebSecurityOrigin;
40 class WebString; 39 class WebString;
41 class WebURL; 40 class WebURL;
42 41
43 class WebPermissionClient { 42 class WebPermissionClient {
44 public: 43 public:
45 // Controls whether access to Web Databases is allowed for this frame. 44 // Controls whether access to Web Databases is allowed for this frame.
46 virtual bool allowDatabase(const WebString& name, const WebString& displayNa me, unsigned long estimatedSize) { return true; } 45 virtual bool allowDatabase(const WebString& name, const WebString& displayNa me, unsigned long estimatedSize) { return true; }
47 46
48 // Controls whether access to File System is allowed for this frame. 47 // Controls whether access to File System is allowed for this frame.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // Notifies the client that the frame would have executed script if script w ere enabled. 113 // Notifies the client that the frame would have executed script if script w ere enabled.
115 virtual void didNotAllowScript() { } 114 virtual void didNotAllowScript() { }
116 115
117 protected: 116 protected:
118 ~WebPermissionClient() { } 117 ~WebPermissionClient() { }
119 }; 118 };
120 119
121 } // namespace blink 120 } // namespace blink
122 121
123 #endif 122 #endif
OLDNEW
« no previous file with comments | « public/web/WebLocalFrame.h ('k') | public/web/WebPlugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698