LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * Copyright (C) 2010-2018 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010-2018 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 void didExceedInactiveMemoryLimitWhileActive(); | 431 void didExceedInactiveMemoryLimitWhileActive(); |
432 void didExceedBackgroundCPULimitWhileInForeground(); | 432 void didExceedBackgroundCPULimitWhileInForeground(); |
433 | 433 |
434 void closePage(bool stopResponsivenessTimer); | 434 void closePage(bool stopResponsivenessTimer); |
435 | 435 |
436 void addPlatformLoadParameters(LoadParameters&); | 436 void addPlatformLoadParameters(LoadParameters&); |
437 RefPtr<API::Navigation> loadRequest(WebCore::ResourceRequest&&, WebCore::Sho
uldOpenExternalURLsPolicy = WebCore::ShouldOpenExternalURLsPolicy::ShouldAllowEx
ternalSchemes, API::Object* userData = nullptr); | 437 RefPtr<API::Navigation> loadRequest(WebCore::ResourceRequest&&, WebCore::Sho
uldOpenExternalURLsPolicy = WebCore::ShouldOpenExternalURLsPolicy::ShouldAllowEx
ternalSchemes, API::Object* userData = nullptr); |
438 RefPtr<API::Navigation> loadFile(const String& fileURL, const String& resour
ceDirectoryURL, API::Object* userData = nullptr); | 438 RefPtr<API::Navigation> loadFile(const String& fileURL, const String& resour
ceDirectoryURL, API::Object* userData = nullptr); |
439 RefPtr<API::Navigation> loadData(API::Data*, const String& MIMEType, const S
tring& encoding, const String& baseURL, API::Object* userData = nullptr); | 439 RefPtr<API::Navigation> loadData(API::Data*, const String& MIMEType, const S
tring& encoding, const String& baseURL, API::Object* userData = nullptr); |
440 RefPtr<API::Navigation> loadHTMLString(const String& htmlString, const Strin
g& baseURL, API::Object* userData = nullptr); | 440 RefPtr<API::Navigation> loadHTMLString(const String& htmlString, const Strin
g& baseURL, API::Object* userData = nullptr); |
441 void loadAlternateHTMLString(const String& htmlString, const WebCore::URL& b
aseURL, const WebCore::URL& unreachableURL, API::Object* userData = nullptr); | 441 void loadAlternateHTMLString(const String& htmlString, const WebCore::URL& b
aseURL, const WebCore::URL& unreachableURL, API::Object* userData = nullptr, Web
Core::LockBackForwardList = WebCore::LockBackForwardList::No); |
442 void loadPlainTextString(const String&, API::Object* userData = nullptr); | 442 void loadPlainTextString(const String&, API::Object* userData = nullptr); |
443 void loadWebArchiveData(API::Data*, API::Object* userData = nullptr); | 443 void loadWebArchiveData(API::Data*, API::Object* userData = nullptr); |
444 void navigateToPDFLinkWithSimulatedClick(const String& url, WebCore::IntPoin
t documentPoint, WebCore::IntPoint screenPoint); | 444 void navigateToPDFLinkWithSimulatedClick(const String& url, WebCore::IntPoin
t documentPoint, WebCore::IntPoint screenPoint); |
445 | 445 |
446 void stopLoading(); | 446 void stopLoading(); |
447 RefPtr<API::Navigation> reload(OptionSet<WebCore::ReloadOption>); | 447 RefPtr<API::Navigation> reload(OptionSet<WebCore::ReloadOption>); |
448 | 448 |
449 RefPtr<API::Navigation> goForward(); | 449 RefPtr<API::Navigation> goForward(); |
450 RefPtr<API::Navigation> goBack(); | 450 RefPtr<API::Navigation> goBack(); |
451 | 451 |
(...skipping 1717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2169 | 2169 |
2170 std::optional<MonotonicTime> m_pageLoadStart; | 2170 std::optional<MonotonicTime> m_pageLoadStart; |
2171 | 2171 |
2172 // FIXME: Support more than one suspended page per WebPageProxy, | 2172 // FIXME: Support more than one suspended page per WebPageProxy, |
2173 // and have a global collection of them per process pool | 2173 // and have a global collection of them per process pool |
2174 // (e.g. for that process pool's page cache) | 2174 // (e.g. for that process pool's page cache) |
2175 RefPtr<SuspendedPageProxy> m_suspendedPage; | 2175 RefPtr<SuspendedPageProxy> m_suspendedPage; |
2176 }; | 2176 }; |
2177 | 2177 |
2178 } // namespace WebKit | 2178 } // namespace WebKit |
LEFT | RIGHT |