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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 virtual ServiceRegistry* serviceRegistry() { return nullptr; } | 720 virtual ServiceRegistry* serviceRegistry() { return nullptr; } |
721 | 721 |
722 // Visibility ---------------------------------------------------------- | 722 // Visibility ---------------------------------------------------------- |
723 | 723 |
724 // Returns the current visibility of the WebFrame. | 724 // Returns the current visibility of the WebFrame. |
725 virtual WebPageVisibilityState visibilityState() const | 725 virtual WebPageVisibilityState visibilityState() const |
726 { | 726 { |
727 return WebPageVisibilityStateVisible; | 727 return WebPageVisibilityStateVisible; |
728 } | 728 } |
729 | 729 |
| 730 // Overwrites the given URL to use an HTML5 video player if possible. |
| 731 // An empty string is returned if the URL is not overriden |
| 732 virtual WebString overrideFlashEmbedWithHTML(const WebString& url) |
| 733 { |
| 734 return ""; |
| 735 } |
| 736 |
730 protected: | 737 protected: |
731 virtual ~WebFrameClient() { } | 738 virtual ~WebFrameClient() { } |
732 }; | 739 }; |
733 | 740 |
734 } // namespace blink | 741 } // namespace blink |
735 | 742 |
736 #endif | 743 #endif |
OLD | NEW |