Chromium Code Reviews| 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 18 matching lines...) Expand all Loading... | |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef WebFrame_h | 31 #ifndef WebFrame_h |
| 32 #define WebFrame_h | 32 #define WebFrame_h |
| 33 | 33 |
| 34 #include "WebCompositionUnderline.h" | 34 #include "WebCompositionUnderline.h" |
| 35 #include "WebHistoryItem.h" | 35 #include "WebHistoryItem.h" |
| 36 #include "WebIconURL.h" | 36 #include "WebIconURL.h" |
| 37 #include "WebNode.h" | 37 #include "WebNode.h" |
| 38 #include "WebURLLoaderOptions.h" | 38 #include "WebURLLoaderOptions.h" |
| 39 #include "public/platform/WebCachePolicy.h" | |
| 39 #include "public/platform/WebCanvas.h" | 40 #include "public/platform/WebCanvas.h" |
| 40 #include "public/platform/WebMessagePortChannel.h" | 41 #include "public/platform/WebMessagePortChannel.h" |
| 41 #include "public/platform/WebPrivateOwnPtr.h" | 42 #include "public/platform/WebPrivateOwnPtr.h" |
| 42 #include "public/platform/WebReferrerPolicy.h" | 43 #include "public/platform/WebReferrerPolicy.h" |
| 43 #include "public/platform/WebURL.h" | 44 #include "public/platform/WebURL.h" |
| 44 #include "public/platform/WebURLRequest.h" | 45 #include "public/platform/WebURLRequest.h" |
| 45 #include "public/web/WebTreeScopeType.h" | 46 #include "public/web/WebTreeScopeType.h" |
| 46 | 47 |
| 47 struct NPObject; | 48 struct NPObject; |
| 48 | 49 |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 345 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac he = false) = 0; | 346 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac he = false) = 0; |
| 346 | 347 |
| 347 // Load the given URL. | 348 // Load the given URL. |
| 348 virtual void loadRequest(const WebURLRequest&) = 0; | 349 virtual void loadRequest(const WebURLRequest&) = 0; |
| 349 | 350 |
| 350 // Load the given history state, corresponding to a back/forward | 351 // Load the given history state, corresponding to a back/forward |
| 351 // navigation of a frame. Multiple frames may be navigated via separate call s. | 352 // navigation of a frame. Multiple frames may be navigated via separate call s. |
| 352 virtual void loadHistoryItem( | 353 virtual void loadHistoryItem( |
| 353 const WebHistoryItem&, | 354 const WebHistoryItem&, |
| 354 WebHistoryLoadType, | 355 WebHistoryLoadType, |
| 355 WebURLRequest::CachePolicy = WebURLRequest::UseProtocolCachePolicy) = 0; | 356 WebCachePolicy = WebCachePolicy::UseProtocolCachePolicy) |
|
dcheng
2016/04/04 08:17:10
I know your patch doesn't introduce this, but why
clamy
2016/04/04 12:51:05
I think this comes from the changes we made to onl
| |
| 357 = 0; | |
| 356 | 358 |
| 357 // This method is short-hand for calling LoadData, where mime_type is | 359 // This method is short-hand for calling LoadData, where mime_type is |
| 358 // "text/html" and text_encoding is "UTF-8". | 360 // "text/html" and text_encoding is "UTF-8". |
| 359 virtual void loadHTMLString(const WebData& html, | 361 virtual void loadHTMLString(const WebData& html, |
| 360 const WebURL& baseURL, | 362 const WebURL& baseURL, |
| 361 const WebURL& unreachableURL = WebURL(), | 363 const WebURL& unreachableURL = WebURL(), |
| 362 bool replace = false) = 0; | 364 bool replace = false) = 0; |
| 363 | 365 |
| 364 // Stops any pending loads on the frame and its children. | 366 // Stops any pending loads on the frame and its children. |
| 365 virtual void stopLoading() = 0; | 367 virtual void stopLoading() = 0; |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 604 WebFrame* m_firstChild; | 606 WebFrame* m_firstChild; |
| 605 WebFrame* m_lastChild; | 607 WebFrame* m_lastChild; |
| 606 | 608 |
| 607 WebFrame* m_opener; | 609 WebFrame* m_opener; |
| 608 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 610 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 609 }; | 611 }; |
| 610 | 612 |
| 611 } // namespace blink | 613 } // namespace blink |
| 612 | 614 |
| 613 #endif | 615 #endif |
| OLD | NEW |