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 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 703 virtual ServiceRegistry* serviceRegistry() { return nullptr; } | 703 virtual ServiceRegistry* serviceRegistry() { return nullptr; } |
| 704 | 704 |
| 705 // Visibility ---------------------------------------------------------- | 705 // Visibility ---------------------------------------------------------- |
| 706 | 706 |
| 707 // Returns the current visibility of the WebFrame. | 707 // Returns the current visibility of the WebFrame. |
| 708 virtual WebPageVisibilityState visibilityState() const | 708 virtual WebPageVisibilityState visibilityState() const |
| 709 { | 709 { |
| 710 return WebPageVisibilityStateVisible; | 710 return WebPageVisibilityStateVisible; |
| 711 } | 711 } |
| 712 | 712 |
| 713 // Overwrites the given URL to use an HTML5 video player if possible. | |
|
mlamouri (slow - plz ping)
2016/08/01 13:43:59
s/video player/embed/
kdsilva
2016/08/02 15:34:47
Done.
| |
| 714 // An empty string is returned if the URL is not overriden. | |
| 715 virtual WebString overrideFlashEmbedWithHTML(const WebString& url) | |
| 716 { | |
| 717 return WebString(""); | |
| 718 } | |
| 719 | |
| 713 protected: | 720 protected: |
| 714 virtual ~WebFrameClient() { } | 721 virtual ~WebFrameClient() { } |
| 715 }; | 722 }; |
| 716 | 723 |
| 717 } // namespace blink | 724 } // namespace blink |
| 718 | 725 |
| 719 #endif | 726 #endif |
| OLD | NEW |