| 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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 virtual InterfaceProvider* interfaceProvider() { return nullptr; } | 695 virtual InterfaceProvider* interfaceProvider() { return nullptr; } |
| 696 | 696 |
| 697 // Visibility ---------------------------------------------------------- | 697 // Visibility ---------------------------------------------------------- |
| 698 | 698 |
| 699 // Returns the current visibility of the WebFrame. | 699 // Returns the current visibility of the WebFrame. |
| 700 virtual WebPageVisibilityState visibilityState() const | 700 virtual WebPageVisibilityState visibilityState() const |
| 701 { | 701 { |
| 702 return WebPageVisibilityStateVisible; | 702 return WebPageVisibilityStateVisible; |
| 703 } | 703 } |
| 704 | 704 |
| 705 // Overwrites the given URL to use an HTML5 embed if possible. |
| 706 // An empty URL is returned if the URL is not overriden. |
| 707 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) |
| 708 { |
| 709 return WebURL(); |
| 710 } |
| 711 |
| 705 protected: | 712 protected: |
| 706 virtual ~WebFrameClient() { } | 713 virtual ~WebFrameClient() { } |
| 707 }; | 714 }; |
| 708 | 715 |
| 709 } // namespace blink | 716 } // namespace blink |
| 710 | 717 |
| 711 #endif | 718 #endif |
| OLD | NEW |