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

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: Rebase 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
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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 432
433 // Called to dispatch a load event for this frame in the FrameOwner of an 433 // Called to dispatch a load event for this frame in the FrameOwner of an
434 // out-of-process parent frame. 434 // out-of-process parent frame.
435 virtual void dispatchLoad() {} 435 virtual void dispatchLoad() {}
436 436
437 // Returns the effective connection type when the frame was fetched. 437 // Returns the effective connection type when the frame was fetched.
438 virtual WebEffectiveConnectionType getEffectiveConnectionType() { 438 virtual WebEffectiveConnectionType getEffectiveConnectionType() {
439 return WebEffectiveConnectionType::TypeUnknown; 439 return WebEffectiveConnectionType::TypeUnknown;
440 } 440 }
441 441
442 // PlzNavigate
443 // Called to abort a navigation that is being handled by the browser process.
444 virtual void abortClientNavigation() {}
445
442 // Push API --------------------------------------------------- 446 // Push API ---------------------------------------------------
443 447
444 // Used to access the embedder for the Push API. 448 // Used to access the embedder for the Push API.
445 virtual WebPushClient* pushClient() { return 0; } 449 virtual WebPushClient* pushClient() { return 0; }
446 450
447 // Presentation API ---------------------------------------------------- 451 // Presentation API ----------------------------------------------------
448 452
449 // Used to access the embedder for the Presentation API. 453 // Used to access the embedder for the Presentation API.
450 virtual WebPresentationClient* presentationClient() { return 0; } 454 virtual WebPresentationClient* presentationClient() { return 0; }
451 455
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 // Overwrites the given URL to use an HTML5 embed if possible. 749 // Overwrites the given URL to use an HTML5 embed if possible.
746 // An empty URL is returned if the URL is not overriden. 750 // An empty URL is returned if the URL is not overriden.
747 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 751 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
748 return WebURL(); 752 return WebURL();
749 } 753 }
750 }; 754 };
751 755
752 } // namespace blink 756 } // namespace blink
753 757
754 #endif 758 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698