OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 99 |
100 // Services ------------------------------------------------------------ | 100 // Services ------------------------------------------------------------ |
101 | 101 |
102 // A frame specific cookie jar. May return null, in which case | 102 // A frame specific cookie jar. May return null, in which case |
103 // WebKitPlatformSupport::cookieJar() will be called to access cookies. | 103 // WebKitPlatformSupport::cookieJar() will be called to access cookies. |
104 virtual WebCookieJar* cookieJar(WebFrame*) { return 0; } | 104 virtual WebCookieJar* cookieJar(WebFrame*) { return 0; } |
105 | 105 |
106 | 106 |
107 // General notifications ----------------------------------------------- | 107 // General notifications ----------------------------------------------- |
108 | 108 |
| 109 // Indicates if creating a plugin without an associated renderer is supporte
d. |
| 110 virtual bool canCreatePluginWithoutRenderer(const WebString& mimeType) { ret
urn false; } |
| 111 |
109 // Indicates that another page has accessed the DOM of the initial empty | 112 // Indicates that another page has accessed the DOM of the initial empty |
110 // document of a main frame. After this, it is no longer safe to show a | 113 // document of a main frame. After this, it is no longer safe to show a |
111 // pending navigation's URL, because a URL spoof is possible. | 114 // pending navigation's URL, because a URL spoof is possible. |
112 virtual void didAccessInitialDocument(WebFrame*) { } | 115 virtual void didAccessInitialDocument(WebFrame*) { } |
113 | 116 |
114 // A child frame was created in this frame. This is called when the frame | 117 // A child frame was created in this frame. This is called when the frame |
115 // is created and initialized. Takes the name of the new frame, the parent | 118 // is created and initialized. Takes the name of the new frame, the parent |
116 // frame and returns a new WebFrame. The WebFrame is considered in-use | 119 // frame and returns a new WebFrame. The WebFrame is considered in-use |
117 // until frameDetached() is called on it. | 120 // until frameDetached() is called on it. |
118 // Note: If you override this, you should almost certainly be overriding | 121 // Note: If you override this, you should almost certainly be overriding |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 // Extensions3D.h in WebCore/platform/graphics). | 376 // Extensions3D.h in WebCore/platform/graphics). |
374 virtual void didLoseWebGLContext(WebFrame*, int) { } | 377 virtual void didLoseWebGLContext(WebFrame*, int) { } |
375 | 378 |
376 protected: | 379 protected: |
377 ~WebFrameClient() { } | 380 ~WebFrameClient() { } |
378 }; | 381 }; |
379 | 382 |
380 } // namespace blink | 383 } // namespace blink |
381 | 384 |
382 #endif | 385 #endif |
OLD | NEW |