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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 // This method is short-hand for calling LoadData, where mime_type is | 378 // This method is short-hand for calling LoadData, where mime_type is |
379 // "text/html" and text_encoding is "UTF-8". | 379 // "text/html" and text_encoding is "UTF-8". |
380 virtual void loadHTMLString(const WebData& html, | 380 virtual void loadHTMLString(const WebData& html, |
381 const WebURL& baseURL, | 381 const WebURL& baseURL, |
382 const WebURL& unreachableURL = WebURL(), | 382 const WebURL& unreachableURL = WebURL(), |
383 bool replace = false) = 0; | 383 bool replace = false) = 0; |
384 | 384 |
385 // Stops any pending loads on the frame and its children. | 385 // Stops any pending loads on the frame and its children. |
386 virtual void stopLoading() = 0; | 386 virtual void stopLoading() = 0; |
387 | 387 |
| 388 virtual void stopLoadingCheckCompletedNow() { } |
| 389 |
388 // Returns the data source that is currently loading. May be null. | 390 // Returns the data source that is currently loading. May be null. |
389 virtual WebDataSource* provisionalDataSource() const = 0; | 391 virtual WebDataSource* provisionalDataSource() const = 0; |
390 | 392 |
391 // Returns the data source that is currently loaded. | 393 // Returns the data source that is currently loaded. |
392 virtual WebDataSource* dataSource() const = 0; | 394 virtual WebDataSource* dataSource() const = 0; |
393 | 395 |
394 // View-source rendering mode. Set this before loading an URL to cause | 396 // View-source rendering mode. Set this before loading an URL to cause |
395 // it to be rendered in view-source mode. | 397 // it to be rendered in view-source mode. |
396 virtual void enableViewSourceMode(bool) = 0; | 398 virtual void enableViewSourceMode(bool) = 0; |
397 virtual bool isViewSourceModeEnabled() const = 0; | 399 virtual bool isViewSourceModeEnabled() const = 0; |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 WebFrame* m_firstChild; | 627 WebFrame* m_firstChild; |
626 WebFrame* m_lastChild; | 628 WebFrame* m_lastChild; |
627 | 629 |
628 WebFrame* m_opener; | 630 WebFrame* m_opener; |
629 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 631 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
630 }; | 632 }; |
631 | 633 |
632 } // namespace blink | 634 } // namespace blink |
633 | 635 |
634 #endif | 636 #endif |
OLD | NEW |