| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 14 matching lines...) Expand all Loading... |
| 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 WebFrame_h | 31 #ifndef WebFrame_h |
| 32 #define WebFrame_h | 32 #define WebFrame_h |
| 33 | 33 |
| 34 #include "WebCompositionUnderline.h" | 34 #include "WebCompositionUnderline.h" |
| 35 #include "WebIconURL.h" | |
| 36 #include "WebNode.h" | 35 #include "WebNode.h" |
| 37 #include "WebURLLoaderOptions.h" | 36 #include "WebURLLoaderOptions.h" |
| 38 #include "public/platform/WebCanvas.h" | 37 #include "public/platform/WebCanvas.h" |
| 39 #include "public/platform/WebPrivateOwnPtr.h" | 38 #include "public/platform/WebPrivateOwnPtr.h" |
| 40 #include "public/platform/WebReferrerPolicy.h" | 39 #include "public/platform/WebReferrerPolicy.h" |
| 41 #include "public/platform/WebURL.h" | 40 #include "public/platform/WebURL.h" |
| 42 #include "public/platform/WebURLRequest.h" | 41 #include "public/platform/WebURLRequest.h" |
| 43 #include "mojo/public/cpp/system/data_pipe.h" | 42 #include "mojo/public/cpp/system/data_pipe.h" |
| 44 | 43 |
| 45 | 44 |
| 46 namespace v8 { | 45 namespace v8 { |
| 47 class Context; | 46 class Context; |
| 48 class Function; | 47 class Function; |
| 49 class Object; | 48 class Object; |
| 50 class Value; | 49 class Value; |
| 51 template <class T> class Handle; | 50 template <class T> class Handle; |
| 52 template <class T> class Local; | 51 template <class T> class Local; |
| 53 } | 52 } |
| 54 | 53 |
| 55 namespace blink { | 54 namespace blink { |
| 56 | 55 |
| 57 class Frame; | 56 class Frame; |
| 58 class WebData; | 57 class WebData; |
| 59 class WebDocument; | 58 class WebDocument; |
| 60 class WebElement; | 59 class WebElement; |
| 61 class WebFrameClient; | 60 class WebFrameClient; |
| 62 class WebLayer; | 61 class WebLayer; |
| 63 class WebLocalFrame; | 62 class WebLocalFrame; |
| 64 class WebPerformance; | |
| 65 class WebRange; | 63 class WebRange; |
| 66 class WebString; | 64 class WebString; |
| 67 class WebURL; | 65 class WebURL; |
| 68 class WebURLLoader; | 66 class WebURLLoader; |
| 69 class WebURLRequest; | 67 class WebURLRequest; |
| 70 class WebView; | 68 class WebView; |
| 71 struct WebConsoleMessage; | 69 struct WebConsoleMessage; |
| 72 struct WebFindOptions; | |
| 73 struct WebFloatPoint; | 70 struct WebFloatPoint; |
| 74 struct WebFloatRect; | 71 struct WebFloatRect; |
| 75 struct WebPoint; | 72 struct WebPoint; |
| 76 struct WebRect; | 73 struct WebRect; |
| 77 struct WebScriptSource; | 74 struct WebScriptSource; |
| 78 struct WebSize; | 75 struct WebSize; |
| 79 struct WebURLLoaderOptions; | 76 struct WebURLLoaderOptions; |
| 80 | 77 |
| 81 template <typename T> class WebVector; | 78 template <typename T> class WebVector; |
| 82 | 79 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 115 |
| 119 // Hierarchy ---------------------------------------------------------- | 116 // Hierarchy ---------------------------------------------------------- |
| 120 | 117 |
| 121 // Returns the containing view. | 118 // Returns the containing view. |
| 122 virtual WebView* view() const = 0; | 119 virtual WebView* view() const = 0; |
| 123 | 120 |
| 124 // Content ------------------------------------------------------------ | 121 // Content ------------------------------------------------------------ |
| 125 | 122 |
| 126 virtual WebDocument document() const = 0; | 123 virtual WebDocument document() const = 0; |
| 127 | 124 |
| 128 virtual WebPerformance performance() const = 0; | |
| 129 | |
| 130 | 125 |
| 131 // Closing ------------------------------------------------------------- | 126 // Closing ------------------------------------------------------------- |
| 132 | 127 |
| 133 // Executes script in the context of the current page. | 128 // Executes script in the context of the current page. |
| 134 virtual void executeScript(const WebScriptSource&) = 0; | 129 virtual void executeScript(const WebScriptSource&) = 0; |
| 135 | 130 |
| 136 // Executes JavaScript in a new world associated with the web frame. | 131 // Executes JavaScript in a new world associated with the web frame. |
| 137 // The script gets its own global scope and its own prototypes for | 132 // The script gets its own global scope and its own prototypes for |
| 138 // intrinsic JavaScript objects (String, Array, and so-on). It also | 133 // intrinsic JavaScript objects (String, Array, and so-on). It also |
| 139 // gets its own wrappers for all DOM nodes and DOM constructors. | 134 // gets its own wrappers for all DOM nodes and DOM constructors. |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 private: | 315 private: |
| 321 }; | 316 }; |
| 322 | 317 |
| 323 #if BLINK_IMPLEMENTATION | 318 #if BLINK_IMPLEMENTATION |
| 324 Frame* toCoreFrame(const WebFrame*); | 319 Frame* toCoreFrame(const WebFrame*); |
| 325 #endif | 320 #endif |
| 326 | 321 |
| 327 } // namespace blink | 322 } // namespace blink |
| 328 | 323 |
| 329 #endif | 324 #endif |
| OLD | NEW |