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

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

Powered by Google App Engine
This is Rietveld 408576698