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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "v8/include/v8.h" | 43 #include "v8/include/v8.h" |
44 | 44 |
45 namespace blink { | 45 namespace blink { |
46 | 46 |
47 class Frame; | 47 class Frame; |
48 class OpenedFrameTracker; | 48 class OpenedFrameTracker; |
49 class Page; | 49 class Page; |
50 class Visitor; | 50 class Visitor; |
51 class WebAssociatedURLLoader; | 51 class WebAssociatedURLLoader; |
52 struct WebAssociatedURLLoaderOptions; | 52 struct WebAssociatedURLLoaderOptions; |
53 class WebDocument; | |
54 class WebElement; | 53 class WebElement; |
55 class WebLocalFrame; | 54 class WebLocalFrame; |
56 class WebPerformance; | 55 class WebPerformance; |
57 class WebRemoteFrame; | 56 class WebRemoteFrame; |
58 class WebSecurityOrigin; | 57 class WebSecurityOrigin; |
59 class WebString; | 58 class WebString; |
60 class WebURL; | 59 class WebURL; |
61 class WebURLRequest; | 60 class WebURLRequest; |
62 class WebView; | 61 class WebView; |
63 enum class WebSandboxFlags; | 62 enum class WebSandboxFlags; |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 WebFrame* FirstChild() const; | 188 WebFrame* FirstChild() const; |
190 | 189 |
191 // Returns the next sibling frame. | 190 // Returns the next sibling frame. |
192 WebFrame* NextSibling() const; | 191 WebFrame* NextSibling() const; |
193 | 192 |
194 // Returns the next frame in "frame traversal order". | 193 // Returns the next frame in "frame traversal order". |
195 WebFrame* TraverseNext() const; | 194 WebFrame* TraverseNext() const; |
196 | 195 |
197 // Content ------------------------------------------------------------ | 196 // Content ------------------------------------------------------------ |
198 | 197 |
199 virtual WebDocument GetDocument() const = 0; | |
200 | |
201 virtual WebPerformance Performance() const = 0; | 198 virtual WebPerformance Performance() const = 0; |
202 | 199 |
203 // Scripting ---------------------------------------------------------- | 200 // Scripting ---------------------------------------------------------- |
204 | 201 |
205 // Returns the global proxy object. | 202 // Returns the global proxy object. |
206 virtual v8::Local<v8::Object> GlobalProxy() const = 0; | 203 virtual v8::Local<v8::Object> GlobalProxy() const = 0; |
207 | 204 |
208 // Returns true if the WebFrame currently executing JavaScript has access | 205 // Returns true if the WebFrame currently executing JavaScript has access |
209 // to the given WebFrame, or false otherwise. | 206 // to the given WebFrame, or false otherwise. |
210 static bool ScriptCanAccess(WebFrame*); | 207 static bool ScriptCanAccess(WebFrame*); |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 WebFrame* first_child_; | 309 WebFrame* first_child_; |
313 WebFrame* last_child_; | 310 WebFrame* last_child_; |
314 | 311 |
315 WebFrame* opener_; | 312 WebFrame* opener_; |
316 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_; | 313 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_; |
317 }; | 314 }; |
318 | 315 |
319 } // namespace blink | 316 } // namespace blink |
320 | 317 |
321 #endif | 318 #endif |
OLD | NEW |