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