| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 2 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 3 * Copyright (C) 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Lesser General Public | 6 * modify it under the terms of the GNU Lesser General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 } | 68 } |
| 69 return nullptr; | 69 return nullptr; |
| 70 } | 70 } |
| 71 | 71 |
| 72 void DOMPluginArray::refresh(bool reload) | 72 void DOMPluginArray::refresh(bool reload) |
| 73 { | 73 { |
| 74 if (!m_frame) | 74 if (!m_frame) |
| 75 return; | 75 return; |
| 76 Page::refreshPlugins(); | 76 Page::refreshPlugins(); |
| 77 if (reload) | 77 if (reload) |
| 78 m_frame->reload(FrameLoadTypeReload, ClientRedirect); | 78 m_frame->reload(FrameLoadTypeReload, ClientRedirectPolicy::ClientRedirec
t); |
| 79 } | 79 } |
| 80 | 80 |
| 81 PluginData* DOMPluginArray::pluginData() const | 81 PluginData* DOMPluginArray::pluginData() const |
| 82 { | 82 { |
| 83 if (!m_frame) | 83 if (!m_frame) |
| 84 return nullptr; | 84 return nullptr; |
| 85 Page* page = m_frame->page(); | 85 Page* page = m_frame->page(); |
| 86 if (!page) | 86 if (!page) |
| 87 return nullptr; | 87 return nullptr; |
| 88 return page->pluginData(); | 88 return page->pluginData(); |
| 89 } | 89 } |
| 90 | 90 |
| 91 } // namespace blink | 91 } // namespace blink |
| OLD | NEW |