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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 WebFrame* FirstChild() const; | 181 WebFrame* FirstChild() const; |
183 | 182 |
184 // Returns the next sibling frame. | 183 // Returns the next sibling frame. |
185 WebFrame* NextSibling() const; | 184 WebFrame* NextSibling() const; |
186 | 185 |
187 // Returns the next frame in "frame traversal order". | 186 // Returns the next frame in "frame traversal order". |
188 WebFrame* TraverseNext() const; | 187 WebFrame* TraverseNext() const; |
189 | 188 |
190 // Content ------------------------------------------------------------ | 189 // Content ------------------------------------------------------------ |
191 | 190 |
192 virtual WebDocument GetDocument() const = 0; | |
193 | |
194 virtual WebPerformance Performance() const = 0; | 191 virtual WebPerformance Performance() const = 0; |
195 | 192 |
196 // Scripting ---------------------------------------------------------- | 193 // Scripting ---------------------------------------------------------- |
197 | 194 |
198 // Returns the global proxy object. | 195 // Returns the global proxy object. |
199 virtual v8::Local<v8::Object> GlobalProxy() const = 0; | 196 virtual v8::Local<v8::Object> GlobalProxy() const = 0; |
200 | 197 |
201 // Returns true if the WebFrame currently executing JavaScript has access | 198 // Returns true if the WebFrame currently executing JavaScript has access |
202 // to the given WebFrame, or false otherwise. | 199 // to the given WebFrame, or false otherwise. |
203 static bool ScriptCanAccess(WebFrame*); | 200 static bool ScriptCanAccess(WebFrame*); |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 WebFrame* first_child_; | 289 WebFrame* first_child_; |
293 WebFrame* last_child_; | 290 WebFrame* last_child_; |
294 | 291 |
295 WebFrame* opener_; | 292 WebFrame* opener_; |
296 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_; | 293 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_; |
297 }; | 294 }; |
298 | 295 |
299 } // namespace blink | 296 } // namespace blink |
300 | 297 |
301 #endif | 298 #endif |
OLD | NEW |