| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 ObjectContentType objectContentType( | 132 ObjectContentType objectContentType( |
| 133 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; | 133 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; |
| 134 void didChangeScrollOffset() override; | 134 void didChangeScrollOffset() override; |
| 135 void didUpdateCurrentHistoryItem() override; | 135 void didUpdateCurrentHistoryItem() override; |
| 136 void didRemoveAllPendingStylesheet() override; | 136 void didRemoveAllPendingStylesheet() override; |
| 137 bool allowScript(bool enabledPerSettings) override; | 137 bool allowScript(bool enabledPerSettings) override; |
| 138 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; | 138 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; |
| 139 bool allowPlugins(bool enabledPerSettings) override; | 139 bool allowPlugins(bool enabledPerSettings) override; |
| 140 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; | 140 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; |
| 141 bool allowMedia(const KURL& mediaURL) override; | 141 bool allowMedia(const KURL& mediaURL) override; |
| 142 bool allowDisplayingInsecureContent(bool enabledPerSettings, SecurityOrigin*
, const KURL&) override; | 142 bool allowDisplayingInsecureContent(bool enabledPerSettings, const KURL&) ov
erride; |
| 143 bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, c
onst KURL&) override; | 143 bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, c
onst KURL&) override; |
| 144 void didNotAllowScript() override; | 144 void didNotAllowScript() override; |
| 145 void didNotAllowPlugins() override; | 145 void didNotAllowPlugins() override; |
| 146 void didUseKeygen() override; | 146 void didUseKeygen() override; |
| 147 | 147 |
| 148 WebCookieJar* cookieJar() const override; | 148 WebCookieJar* cookieJar() const override; |
| 149 bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, MessageEvent*,
LocalFrame* sourceFrame) const override; | 149 bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, MessageEvent*,
LocalFrame* sourceFrame) const override; |
| 150 void frameFocused() const override; | 150 void frameFocused() const override; |
| 151 void didChangeName(const String&) override; | 151 void didChangeName(const String&) override; |
| 152 void didEnforceStrictMixedContentChecking() override; | 152 void didEnforceStrictMixedContentChecking() override; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 // The WebFrame that owns this object and manages its lifetime. Therefore, | 187 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 188 // the web frame object is guaranteed to exist. | 188 // the web frame object is guaranteed to exist. |
| 189 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; | 189 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; |
| 190 }; | 190 }; |
| 191 | 191 |
| 192 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 192 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 193 | 193 |
| 194 } // namespace blink | 194 } // namespace blink |
| 195 | 195 |
| 196 #endif | 196 #endif |
| OLD | NEW |