Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(788)

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 2735183003: PlzNavigate: stop navigations when opening a document for write (Closed)
Patch Set: Addressed commemts Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/LocalFrameClientImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 442
443 // Called to dispatch a load event for this frame in the FrameOwner of an 443 // Called to dispatch a load event for this frame in the FrameOwner of an
444 // out-of-process parent frame. 444 // out-of-process parent frame.
445 virtual void dispatchLoad() {} 445 virtual void dispatchLoad() {}
446 446
447 // Returns the effective connection type when the frame was fetched. 447 // Returns the effective connection type when the frame was fetched.
448 virtual WebEffectiveConnectionType getEffectiveConnectionType() { 448 virtual WebEffectiveConnectionType getEffectiveConnectionType() {
449 return WebEffectiveConnectionType::TypeUnknown; 449 return WebEffectiveConnectionType::TypeUnknown;
450 } 450 }
451 451
452 // PlzNavigate
453 // Called to abort a navigation that is being handled by the browser process.
454 virtual void abortClientNavigation() {}
455
452 // Push API --------------------------------------------------- 456 // Push API ---------------------------------------------------
453 457
454 // Used to access the embedder for the Push API. 458 // Used to access the embedder for the Push API.
455 virtual WebPushClient* pushClient() { return 0; } 459 virtual WebPushClient* pushClient() { return 0; }
456 460
457 // Presentation API ---------------------------------------------------- 461 // Presentation API ----------------------------------------------------
458 462
459 // Used to access the embedder for the Presentation API. 463 // Used to access the embedder for the Presentation API.
460 virtual WebPresentationClient* presentationClient() { return 0; } 464 virtual WebPresentationClient* presentationClient() { return 0; }
461 465
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 // Overwrites the given URL to use an HTML5 embed if possible. 759 // Overwrites the given URL to use an HTML5 embed if possible.
756 // An empty URL is returned if the URL is not overriden. 760 // An empty URL is returned if the URL is not overriden.
757 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 761 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
758 return WebURL(); 762 return WebURL();
759 } 763 }
760 }; 764 };
761 765
762 } // namespace blink 766 } // namespace blink
763 767
764 #endif 768 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/LocalFrameClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698