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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
342 const WebURL& baseURL, | 342 const WebURL& baseURL, |
343 const WebURL& unreachableURL = WebURL(), | 343 const WebURL& unreachableURL = WebURL(), |
344 bool replace = false) = 0; | 344 bool replace = false) = 0; |
345 | 345 |
346 // Returns true if the current frame is busy loading content. | 346 // Returns true if the current frame is busy loading content. |
347 virtual bool isLoading() const = 0; | 347 virtual bool isLoading() const = 0; |
348 | 348 |
349 // Stops any pending loads on the frame and its children. | 349 // Stops any pending loads on the frame and its children. |
350 virtual void stopLoading() = 0; | 350 virtual void stopLoading() = 0; |
351 | 351 |
352 // Returns true if the current frame has committed the first real document. | |
353 virtual bool hasCommittedRealDocument() const = 0; | |
darin (slow to review)
2013/09/20 22:03:04
Note: On the Chromium side, you could also just ke
| |
354 | |
352 // Returns the data source that is currently loading. May be null. | 355 // Returns the data source that is currently loading. May be null. |
353 virtual WebDataSource* provisionalDataSource() const = 0; | 356 virtual WebDataSource* provisionalDataSource() const = 0; |
354 | 357 |
355 // Returns the data source that is currently loaded. | 358 // Returns the data source that is currently loaded. |
356 virtual WebDataSource* dataSource() const = 0; | 359 virtual WebDataSource* dataSource() const = 0; |
357 | 360 |
358 // Returns the previous history item. Check WebHistoryItem::isNull() | 361 // Returns the previous history item. Check WebHistoryItem::isNull() |
359 // before using. | 362 // before using. |
360 virtual WebHistoryItem previousHistoryItem() const = 0; | 363 virtual WebHistoryItem previousHistoryItem() const = 0; |
361 | 364 |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
650 // text form. This is used only by layout tests. | 653 // text form. This is used only by layout tests. |
651 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; | 654 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; |
652 | 655 |
653 protected: | 656 protected: |
654 ~WebFrame() { } | 657 ~WebFrame() { } |
655 }; | 658 }; |
656 | 659 |
657 } // namespace WebKit | 660 } // namespace WebKit |
658 | 661 |
659 #endif | 662 #endif |
OLD | NEW |