Chromium Code Reviews| 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 URL and MIME type of a YouTube Flash embed to use an | |
| 731 // HTML5 video player when possible | |
|
mlamouri (slow - plz ping)
2016/07/20 13:22:03
same as above
kdsilva
2016/07/21 13:59:46
Done.
| |
| 732 virtual bool overrideEmbedInfo(WebString* url) | |
| 733 { | |
| 734 return false; | |
| 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 |