| 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 23 matching lines...) Expand all Loading... |
| 34 #include "../platform/WebColor.h" | 34 #include "../platform/WebColor.h" |
| 35 #include "WebAXObject.h" | 35 #include "WebAXObject.h" |
| 36 #include "WebDOMMessageEvent.h" | 36 #include "WebDOMMessageEvent.h" |
| 37 #include "WebDataSource.h" | 37 #include "WebDataSource.h" |
| 38 #include "WebFrame.h" | 38 #include "WebFrame.h" |
| 39 #include "WebHistoryCommitType.h" | 39 #include "WebHistoryCommitType.h" |
| 40 #include "WebHistoryItem.h" | 40 #include "WebHistoryItem.h" |
| 41 #include "WebIconURL.h" | 41 #include "WebIconURL.h" |
| 42 #include "WebNavigationPolicy.h" | 42 #include "WebNavigationPolicy.h" |
| 43 #include "WebNavigationType.h" | 43 #include "WebNavigationType.h" |
| 44 #include "WebSandboxFlags.h" |
| 44 #include "WebSecurityOrigin.h" | 45 #include "WebSecurityOrigin.h" |
| 45 #include "WebTextDirection.h" | 46 #include "WebTextDirection.h" |
| 46 #include "public/platform/WebCommon.h" | 47 #include "public/platform/WebCommon.h" |
| 47 #include "public/platform/WebFileSystem.h" | 48 #include "public/platform/WebFileSystem.h" |
| 48 #include "public/platform/WebFileSystemType.h" | 49 #include "public/platform/WebFileSystemType.h" |
| 49 #include "public/platform/WebStorageQuotaCallbacks.h" | 50 #include "public/platform/WebStorageQuotaCallbacks.h" |
| 50 #include "public/platform/WebStorageQuotaType.h" | 51 #include "public/platform/WebStorageQuotaType.h" |
| 51 #include "public/platform/WebURLError.h" | 52 #include "public/platform/WebURLError.h" |
| 52 #include "public/platform/WebURLRequest.h" | 53 #include "public/platform/WebURLRequest.h" |
| 53 #include <v8.h> | 54 #include <v8.h> |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 // document of a main frame. After this, it is no longer safe to show a | 143 // document of a main frame. After this, it is no longer safe to show a |
| 143 // pending navigation's URL, because a URL spoof is possible. | 144 // pending navigation's URL, because a URL spoof is possible. |
| 144 virtual void didAccessInitialDocument(WebLocalFrame*) { } | 145 virtual void didAccessInitialDocument(WebLocalFrame*) { } |
| 145 | 146 |
| 146 // A child frame was created in this frame. This is called when the frame | 147 // A child frame was created in this frame. This is called when the frame |
| 147 // is created and initialized. Takes the name of the new frame, the parent | 148 // is created and initialized. Takes the name of the new frame, the parent |
| 148 // frame and returns a new WebFrame. The WebFrame is considered in-use | 149 // frame and returns a new WebFrame. The WebFrame is considered in-use |
| 149 // until frameDetached() is called on it. | 150 // until frameDetached() is called on it. |
| 150 // Note: If you override this, you should almost certainly be overriding | 151 // Note: If you override this, you should almost certainly be overriding |
| 151 // frameDetached(). | 152 // frameDetached(). |
| 152 virtual WebFrame* createChildFrame(WebLocalFrame* parent, const WebString& f
rameName) { return 0; } | 153 virtual WebFrame* createChildFrame(WebLocalFrame* parent, const WebString& f
rameName, WebSandboxFlags sandboxFlags) { return nullptr; } |
| 153 | 154 |
| 154 // This frame set its opener to null, disowning it. | 155 // This frame set its opener to null, disowning it. |
| 155 // See http://html.spec.whatwg.org/#dom-opener. | 156 // See http://html.spec.whatwg.org/#dom-opener. |
| 156 virtual void didDisownOpener(WebLocalFrame*) { } | 157 virtual void didDisownOpener(WebLocalFrame*) { } |
| 157 | 158 |
| 158 // This frame has been detached from the view, but has not been closed yet. | 159 // This frame has been detached from the view, but has not been closed yet. |
| 159 virtual void frameDetached(WebFrame*) { } | 160 virtual void frameDetached(WebFrame*) { } |
| 160 | 161 |
| 161 // This frame has become focused.. | 162 // This frame has become focused.. |
| 162 virtual void frameFocused() { } | 163 virtual void frameFocused() { } |
| (...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 virtual bool enterFullscreen() { return false; } | 612 virtual bool enterFullscreen() { return false; } |
| 612 virtual bool exitFullscreen() { return false; } | 613 virtual bool exitFullscreen() { return false; } |
| 613 | 614 |
| 614 protected: | 615 protected: |
| 615 virtual ~WebFrameClient() { } | 616 virtual ~WebFrameClient() { } |
| 616 }; | 617 }; |
| 617 | 618 |
| 618 } // namespace blink | 619 } // namespace blink |
| 619 | 620 |
| 620 #endif | 621 #endif |
| OLD | NEW |