| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) | 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) |
| 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 void dispatchDidChangeIcons(IconType) override {} | 274 void dispatchDidChangeIcons(IconType) override {} |
| 275 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {} | 275 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {} |
| 276 void dispatchDidFailProvisionalLoad(const ResourceError&, | 276 void dispatchDidFailProvisionalLoad(const ResourceError&, |
| 277 HistoryCommitType) override {} | 277 HistoryCommitType) override {} |
| 278 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override {} | 278 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override {} |
| 279 void dispatchDidFinishDocumentLoad() override {} | 279 void dispatchDidFinishDocumentLoad() override {} |
| 280 void dispatchDidFinishLoad() override {} | 280 void dispatchDidFinishLoad() override {} |
| 281 void dispatchDidChangeThemeColor() override {} | 281 void dispatchDidChangeThemeColor() override {} |
| 282 | 282 |
| 283 NavigationPolicy decidePolicyForNavigation( | 283 NavigationPolicy decidePolicyForNavigation( |
| 284 Document* originDocument, |
| 284 const ResourceRequest&, | 285 const ResourceRequest&, |
| 285 DocumentLoader*, | 286 DocumentLoader*, |
| 286 NavigationType, | 287 NavigationType, |
| 287 NavigationPolicy, | 288 NavigationPolicy, |
| 288 bool, | 289 bool, |
| 289 bool, | 290 bool, |
| 290 HTMLFormElement*, | 291 HTMLFormElement*, |
| 291 ContentSecurityPolicyDisposition) override; | 292 ContentSecurityPolicyDisposition) override; |
| 292 | 293 |
| 293 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; | 294 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; |
| 294 void dispatchWillSubmitForm(HTMLFormElement*) override; | 295 void dispatchWillSubmitForm(HTMLFormElement*) override; |
| 295 | 296 |
| 296 void didStartLoading(LoadStartType) override {} | 297 void didStartLoading(LoadStartType) override {} |
| 297 void progressEstimateChanged(double) override {} | 298 void progressEstimateChanged(double) override {} |
| 298 void didStopLoading() override {} | 299 void didStopLoading() override {} |
| 299 | 300 |
| 300 void loadURLExternally(const ResourceRequest&, | 301 void loadURLExternally(const ResourceRequest&, |
| 301 NavigationPolicy, | 302 NavigationPolicy, |
| 302 const String&, | 303 const String&, |
| 303 bool) override {} | 304 bool) override {} |
| 304 void loadErrorPage(int reason) override {} | 305 void loadErrorPage(int reason) override {} |
| 305 | 306 |
| 306 DocumentLoader* createDocumentLoader(LocalFrame*, | 307 DocumentLoader* createDocumentLoader(LocalFrame*, |
| 307 const ResourceRequest&, | 308 const ResourceRequest&, |
| 308 const SubstituteData&, | 309 const SubstituteData&, |
| 309 ClientRedirectPolicy) override; | 310 ClientRedirectPolicy, |
| 311 Document* originDocument) override; |
| 310 | 312 |
| 311 String userAgent() override { return ""; } | 313 String userAgent() override { return ""; } |
| 312 | 314 |
| 313 String doNotTrackValue() override { return String(); } | 315 String doNotTrackValue() override { return String(); } |
| 314 | 316 |
| 315 void transitionToCommittedForNewPage() override {} | 317 void transitionToCommittedForNewPage() override {} |
| 316 | 318 |
| 317 bool navigateBackForward(int offset) const override { return false; } | 319 bool navigateBackForward(int offset) const override { return false; } |
| 318 void didDisplayInsecureContent() override {} | 320 void didDisplayInsecureContent() override {} |
| 319 void didContainInsecureFormAction() override {} | 321 void didContainInsecureFormAction() override {} |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 }; | 440 }; |
| 439 | 441 |
| 440 class CORE_EXPORT EmptyRemoteFrameClient | 442 class CORE_EXPORT EmptyRemoteFrameClient |
| 441 : NON_EXPORTED_BASE(public RemoteFrameClient) { | 443 : NON_EXPORTED_BASE(public RemoteFrameClient) { |
| 442 WTF_MAKE_NONCOPYABLE(EmptyRemoteFrameClient); | 444 WTF_MAKE_NONCOPYABLE(EmptyRemoteFrameClient); |
| 443 | 445 |
| 444 public: | 446 public: |
| 445 EmptyRemoteFrameClient(); | 447 EmptyRemoteFrameClient(); |
| 446 | 448 |
| 447 // RemoteFrameClient implementation. | 449 // RemoteFrameClient implementation. |
| 448 void navigate(const ResourceRequest&, | 450 void navigate(Document* originDocument, |
| 451 const ResourceRequest&, |
| 449 bool shouldReplaceCurrentEntry) override {} | 452 bool shouldReplaceCurrentEntry) override {} |
| 450 void reload(FrameLoadType, ClientRedirectPolicy) override {} | 453 void reload(FrameLoadType, ClientRedirectPolicy) override {} |
| 451 unsigned backForwardLength() override { return 0; } | 454 unsigned backForwardLength() override { return 0; } |
| 452 void forwardPostMessage(MessageEvent*, | 455 void forwardPostMessage(MessageEvent*, |
| 453 PassRefPtr<SecurityOrigin> target, | 456 PassRefPtr<SecurityOrigin> target, |
| 454 LocalFrame* sourceFrame) const override {} | 457 LocalFrame* sourceFrame) const override {} |
| 455 void frameRectsChanged(const IntRect& frameRect) override {} | 458 void frameRectsChanged(const IntRect& frameRect) override {} |
| 456 void updateRemoteViewportIntersection( | 459 void updateRemoteViewportIntersection( |
| 457 const IntRect& viewportIntersection) override {} | 460 const IntRect& viewportIntersection) override {} |
| 458 void advanceFocus(WebFocusType, LocalFrame* source) override {} | 461 void advanceFocus(WebFocusType, LocalFrame* source) override {} |
| (...skipping 10 matching lines...) Expand all Loading... |
| 469 Frame* nextSibling() const override { return nullptr; } | 472 Frame* nextSibling() const override { return nullptr; } |
| 470 Frame* firstChild() const override { return nullptr; } | 473 Frame* firstChild() const override { return nullptr; } |
| 471 void frameFocused() const override {} | 474 void frameFocused() const override {} |
| 472 }; | 475 }; |
| 473 | 476 |
| 474 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 477 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
| 475 | 478 |
| 476 } // namespace blink | 479 } // namespace blink |
| 477 | 480 |
| 478 #endif // EmptyClients_h | 481 #endif // EmptyClients_h |
| OLD | NEW |