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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 namespace blink { | 51 namespace blink { |
52 | 52 |
53 class Frame; | 53 class Frame; |
54 class OpenedFrameTracker; | 54 class OpenedFrameTracker; |
55 class Page; | 55 class Page; |
56 class Visitor; | 56 class Visitor; |
57 class WebAssociatedURLLoader; | 57 class WebAssociatedURLLoader; |
58 struct WebAssociatedURLLoaderOptions; | 58 struct WebAssociatedURLLoaderOptions; |
59 class WebDOMEvent; | 59 class WebDOMEvent; |
60 class WebData; | |
61 class WebDataSource; | 60 class WebDataSource; |
62 class WebDocument; | 61 class WebDocument; |
63 class WebElement; | 62 class WebElement; |
64 class WebLocalFrame; | 63 class WebLocalFrame; |
65 class WebPerformance; | 64 class WebPerformance; |
66 class WebRemoteFrame; | 65 class WebRemoteFrame; |
67 class WebSecurityOrigin; | 66 class WebSecurityOrigin; |
68 class WebString; | 67 class WebString; |
69 class WebURL; | 68 class WebURL; |
70 class WebURLRequest; | 69 class WebURLRequest; |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 virtual void Reload(WebFrameLoadType) = 0; | 297 virtual void Reload(WebFrameLoadType) = 0; |
299 | 298 |
300 // This is used for situations where we want to reload a different URL because | 299 // This is used for situations where we want to reload a different URL because |
301 // of a redirect. | 300 // of a redirect. |
302 virtual void ReloadWithOverrideURL(const WebURL& override_url, | 301 virtual void ReloadWithOverrideURL(const WebURL& override_url, |
303 WebFrameLoadType) = 0; | 302 WebFrameLoadType) = 0; |
304 | 303 |
305 // Load the given URL. | 304 // Load the given URL. |
306 virtual void LoadRequest(const WebURLRequest&) = 0; | 305 virtual void LoadRequest(const WebURLRequest&) = 0; |
307 | 306 |
308 // This method is short-hand for calling LoadData, where mime_type is | |
309 // "text/html" and text_encoding is "UTF-8". | |
310 virtual void LoadHTMLString(const WebData& html, | |
311 const WebURL& base_url, | |
312 const WebURL& unreachable_url = WebURL(), | |
313 bool replace = false) = 0; | |
314 | |
315 // Stops any pending loads on the frame and its children. | 307 // Stops any pending loads on the frame and its children. |
316 virtual void StopLoading() = 0; | 308 virtual void StopLoading() = 0; |
317 | 309 |
318 // Returns the data source that is currently loading. May be null. | 310 // Returns the data source that is currently loading. May be null. |
319 virtual WebDataSource* ProvisionalDataSource() const = 0; | 311 virtual WebDataSource* ProvisionalDataSource() const = 0; |
320 | 312 |
321 // Returns the data source that is currently loaded. | 313 // Returns the data source that is currently loaded. |
322 virtual WebDataSource* DataSource() const = 0; | 314 virtual WebDataSource* DataSource() const = 0; |
323 | 315 |
324 // View-source rendering mode. Set this before loading an URL to cause | 316 // View-source rendering mode. Set this before loading an URL to cause |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 WebFrame* first_child_; | 447 WebFrame* first_child_; |
456 WebFrame* last_child_; | 448 WebFrame* last_child_; |
457 | 449 |
458 WebFrame* opener_; | 450 WebFrame* opener_; |
459 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_; | 451 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_; |
460 }; | 452 }; |
461 | 453 |
462 } // namespace blink | 454 } // namespace blink |
463 | 455 |
464 #endif | 456 #endif |
OLD | NEW |