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

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

Issue 1216093003: Service Worker: Migrate to version_uuid and surface ServiceWorker.id. (Blink 1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 | « public/platform/WebServiceWorker.h ('k') | public/web/WebServiceWorkerNetworkProvider.h » ('j') | 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 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 598
599 599
600 // ServiceWorker ------------------------------------------------------- 600 // ServiceWorker -------------------------------------------------------
601 601
602 // Whether the document associated with WebDataSource is controlled by the 602 // Whether the document associated with WebDataSource is controlled by the
603 // ServiceWorker. 603 // ServiceWorker.
604 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } 604 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; }
605 605
606 // Returns an identifier of the service worker controlling the document 606 // Returns an identifier of the service worker controlling the document
607 // associated with the WebDataSource. 607 // associated with the WebDataSource.
608 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } 608 virtual std::string serviceWorkerID(WebDataSource&) { return std::string(); }
609 609
610 610
611 // Fullscreen ---------------------------------------------------------- 611 // Fullscreen ----------------------------------------------------------
612 612
613 // Called to enter/exit fullscreen mode. 613 // Called to enter/exit fullscreen mode.
614 // After calling enterFullscreen, WebWidget::{will,Did}EnterFullScreen 614 // After calling enterFullscreen, WebWidget::{will,Did}EnterFullScreen
615 // should bound resizing the WebWidget into fullscreen mode. 615 // should bound resizing the WebWidget into fullscreen mode.
616 // Similarly, when exitFullScreen is called, 616 // Similarly, when exitFullScreen is called,
617 // WebWidget::{will,Did}ExitFullScreen should bound resizing the WebWidget 617 // WebWidget::{will,Did}ExitFullScreen should bound resizing the WebWidget
618 // out of fullscreen mode. 618 // out of fullscreen mode.
(...skipping 27 matching lines...) Expand all
646 // App Banners --------------------------------------------------------- 646 // App Banners ---------------------------------------------------------
647 virtual WebAppBannerClient* appBannerClient() { return 0; } 647 virtual WebAppBannerClient* appBannerClient() { return 0; }
648 648
649 protected: 649 protected:
650 virtual ~WebFrameClient() { } 650 virtual ~WebFrameClient() { }
651 }; 651 };
652 652
653 } // namespace blink 653 } // namespace blink
654 654
655 #endif 655 #endif
OLDNEW
« no previous file with comments | « public/platform/WebServiceWorker.h ('k') | public/web/WebServiceWorkerNetworkProvider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698