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