| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 if (m_webFrame->contentSettingsClient()) | 260 if (m_webFrame->contentSettingsClient()) |
| 261 m_webFrame->contentSettingsClient()->didNotAllowPlugins(); | 261 m_webFrame->contentSettingsClient()->didNotAllowPlugins(); |
| 262 | 262 |
| 263 } | 263 } |
| 264 | 264 |
| 265 bool FrameLoaderClientImpl::hasWebView() const | 265 bool FrameLoaderClientImpl::hasWebView() const |
| 266 { | 266 { |
| 267 return m_webFrame->viewImpl(); | 267 return m_webFrame->viewImpl(); |
| 268 } | 268 } |
| 269 | 269 |
| 270 bool FrameLoaderClientImpl::inShadowTree() const |
| 271 { |
| 272 return m_webFrame->inShadowTree(); |
| 273 } |
| 274 |
| 270 Frame* FrameLoaderClientImpl::opener() const | 275 Frame* FrameLoaderClientImpl::opener() const |
| 271 { | 276 { |
| 272 return toCoreFrame(m_webFrame->opener()); | 277 return toCoreFrame(m_webFrame->opener()); |
| 273 } | 278 } |
| 274 | 279 |
| 275 void FrameLoaderClientImpl::setOpener(Frame* opener) | 280 void FrameLoaderClientImpl::setOpener(Frame* opener) |
| 276 { | 281 { |
| 277 m_webFrame->setOpener(WebFrame::fromFrame(opener)); | 282 m_webFrame->setOpener(WebFrame::fromFrame(opener)); |
| 278 } | 283 } |
| 279 | 284 |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 966 | 971 |
| 967 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) | 972 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) |
| 968 { | 973 { |
| 969 if (m_webFrame->client()) { | 974 if (m_webFrame->client()) { |
| 970 m_webFrame->client()->suddenTerminationDisablerChanged( | 975 m_webFrame->client()->suddenTerminationDisablerChanged( |
| 971 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); | 976 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); |
| 972 } | 977 } |
| 973 } | 978 } |
| 974 | 979 |
| 975 } // namespace blink | 980 } // namespace blink |
| OLD | NEW |