| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 const Vector<WTF::String>& paramNames, | 126 const Vector<WTF::String>& paramNames, |
| 127 const Vector<WTF::String>& paramValues) OVERRIDE; | 127 const Vector<WTF::String>& paramValues) OVERRIDE; |
| 128 virtual WebCore::ObjectContentType objectContentType( | 128 virtual WebCore::ObjectContentType objectContentType( |
| 129 const WebCore::KURL&, const WTF::String& mimeType, bool shouldPreferPlug
InsForImages) OVERRIDE; | 129 const WebCore::KURL&, const WTF::String& mimeType, bool shouldPreferPlug
InsForImages) OVERRIDE; |
| 130 virtual void didChangeScrollOffset() OVERRIDE; | 130 virtual void didChangeScrollOffset() OVERRIDE; |
| 131 virtual void didUpdateCurrentHistoryItem() OVERRIDE; | 131 virtual void didUpdateCurrentHistoryItem() OVERRIDE; |
| 132 virtual bool allowScript(bool enabledPerSettings) OVERRIDE; | 132 virtual bool allowScript(bool enabledPerSettings) OVERRIDE; |
| 133 virtual bool allowScriptFromSource(bool enabledPerSettings, const WebCore::K
URL& scriptURL) OVERRIDE; | 133 virtual bool allowScriptFromSource(bool enabledPerSettings, const WebCore::K
URL& scriptURL) OVERRIDE; |
| 134 virtual bool allowPlugins(bool enabledPerSettings) OVERRIDE; | 134 virtual bool allowPlugins(bool enabledPerSettings) OVERRIDE; |
| 135 virtual bool allowImage(bool enabledPerSettings, const WebCore::KURL& imageU
RL) OVERRIDE; | 135 virtual bool allowImage(bool enabledPerSettings, const WebCore::KURL& imageU
RL) OVERRIDE; |
| 136 virtual bool allowMedia(const WebCore::KURL& mediaURL) OVERRIDE; |
| 136 virtual bool allowDisplayingInsecureContent(bool enabledPerSettings, WebCore
::SecurityOrigin*, const WebCore::KURL&) OVERRIDE; | 137 virtual bool allowDisplayingInsecureContent(bool enabledPerSettings, WebCore
::SecurityOrigin*, const WebCore::KURL&) OVERRIDE; |
| 137 virtual bool allowRunningInsecureContent(bool enabledPerSettings, WebCore::S
ecurityOrigin*, const WebCore::KURL&) OVERRIDE; | 138 virtual bool allowRunningInsecureContent(bool enabledPerSettings, WebCore::S
ecurityOrigin*, const WebCore::KURL&) OVERRIDE; |
| 138 virtual void didNotAllowScript() OVERRIDE; | 139 virtual void didNotAllowScript() OVERRIDE; |
| 139 virtual void didNotAllowPlugins() OVERRIDE; | 140 virtual void didNotAllowPlugins() OVERRIDE; |
| 140 | 141 |
| 141 virtual WebCookieJar* cookieJar() const OVERRIDE; | 142 virtual WebCookieJar* cookieJar() const OVERRIDE; |
| 142 virtual bool willCheckAndDispatchMessageEvent(WebCore::SecurityOrigin* targe
t, WebCore::MessageEvent*) const OVERRIDE; | 143 virtual bool willCheckAndDispatchMessageEvent(WebCore::SecurityOrigin* targe
t, WebCore::MessageEvent*) const OVERRIDE; |
| 143 virtual void didChangeName(const String&) OVERRIDE; | 144 virtual void didChangeName(const String&) OVERRIDE; |
| 144 | 145 |
| 145 virtual void dispatchWillOpenSocketStream(WebCore::SocketStreamHandle*) OVER
RIDE; | 146 virtual void dispatchWillOpenSocketStream(WebCore::SocketStreamHandle*) OVER
RIDE; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 171 // The WebFrame that owns this object and manages its lifetime. Therefore, | 172 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 172 // the web frame object is guaranteed to exist. | 173 // the web frame object is guaranteed to exist. |
| 173 WebLocalFrameImpl* m_webFrame; | 174 WebLocalFrameImpl* m_webFrame; |
| 174 }; | 175 }; |
| 175 | 176 |
| 176 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, WebCore::FrameLoaderClient, client, cli
ent->isFrameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 177 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, WebCore::FrameLoaderClient, client, cli
ent->isFrameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 177 | 178 |
| 178 } // namespace blink | 179 } // namespace blink |
| 179 | 180 |
| 180 #endif | 181 #endif |
| OLD | NEW |