OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |