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

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

Issue 2733283004: Expose WebServiceWorkerNetworkProvider on DataSource (Closed)
Patch Set: consistency 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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 672
673 // Provides accessibility information about a find in page result. 673 // Provides accessibility information about a find in page result.
674 virtual void handleAccessibilityFindInPageResult( 674 virtual void handleAccessibilityFindInPageResult(
675 int identifier, 675 int identifier,
676 int matchIndex, 676 int matchIndex,
677 const WebAXObject& startObject, 677 const WebAXObject& startObject,
678 int startOffset, 678 int startOffset,
679 const WebAXObject& endObject, 679 const WebAXObject& endObject,
680 int endOffset) {} 680 int endOffset) {}
681 681
682 // ServiceWorker -------------------------------------------------------
683
684 // Whether the document associated with WebDataSource is controlled by the
685 // ServiceWorker.
686 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; }
687
688 // Returns an identifier of the service worker controlling the document
689 // associated with the WebDataSource.
690 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; }
691
692 // Fullscreen ---------------------------------------------------------- 682 // Fullscreen ----------------------------------------------------------
693 683
694 // Called to enter/exit fullscreen mode. 684 // Called to enter/exit fullscreen mode.
695 // After calling enterFullscreen or exitFullscreen, 685 // After calling enterFullscreen or exitFullscreen,
696 // WebWidget::didEnterFullscreen or WebWidget::didExitFullscreen 686 // WebWidget::didEnterFullscreen or WebWidget::didExitFullscreen
697 // respectively will be called once the fullscreen mode has changed. 687 // respectively will be called once the fullscreen mode has changed.
698 virtual void enterFullscreen() {} 688 virtual void enterFullscreen() {}
699 virtual void exitFullscreen() {} 689 virtual void exitFullscreen() {}
700 690
701 // Sudden termination -------------------------------------------------- 691 // Sudden termination --------------------------------------------------
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 // Overwrites the given URL to use an HTML5 embed if possible. 744 // Overwrites the given URL to use an HTML5 embed if possible.
755 // An empty URL is returned if the URL is not overriden. 745 // An empty URL is returned if the URL is not overriden.
756 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 746 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
757 return WebURL(); 747 return WebURL();
758 } 748 }
759 }; 749 };
760 750
761 } // namespace blink 751 } // namespace blink
762 752
763 #endif 753 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebDataSource.h ('k') | third_party/WebKit/public/web/WebSharedWorkerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698