OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 if (m_webFrame->client()) | 140 if (m_webFrame->client()) |
141 m_webFrame->client()->didDestroyScriptContext(m_webFrame); | 141 m_webFrame->client()->didDestroyScriptContext(m_webFrame); |
142 } | 142 } |
143 | 143 |
144 void FrameLoaderClientImpl::didCreateIsolatedScriptContext() | 144 void FrameLoaderClientImpl::didCreateIsolatedScriptContext() |
145 { | 145 { |
146 if (m_webFrame->client()) | 146 if (m_webFrame->client()) |
147 m_webFrame->client()->didCreateIsolatedScriptContext(m_webFrame); | 147 m_webFrame->client()->didCreateIsolatedScriptContext(m_webFrame); |
148 } | 148 } |
149 | 149 |
| 150 bool FrameLoaderClientImpl::allowScriptExtension(const String& extensionName, |
| 151 int extensionGroup) |
| 152 { |
| 153 if (m_webFrame->client()) |
| 154 return m_webFrame->client()->allowScriptExtension(m_webFrame, extensionN
ame, extensionGroup); |
| 155 return false; |
| 156 } |
| 157 |
150 void FrameLoaderClientImpl::didPerformFirstNavigation() const | 158 void FrameLoaderClientImpl::didPerformFirstNavigation() const |
151 { | 159 { |
152 } | 160 } |
153 | 161 |
154 void FrameLoaderClientImpl::registerForIconNotification(bool) | 162 void FrameLoaderClientImpl::registerForIconNotification(bool) |
155 { | 163 { |
156 } | 164 } |
157 | 165 |
158 void FrameLoaderClientImpl::didChangeScrollOffset() | 166 void FrameLoaderClientImpl::didChangeScrollOffset() |
159 { | 167 { |
(...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1512 } | 1520 } |
1513 return ds->releasePluginLoadObserver(); | 1521 return ds->releasePluginLoadObserver(); |
1514 } | 1522 } |
1515 | 1523 |
1516 PassRefPtr<FrameNetworkingContext> FrameLoaderClientImpl::createNetworkingContex
t() | 1524 PassRefPtr<FrameNetworkingContext> FrameLoaderClientImpl::createNetworkingContex
t() |
1517 { | 1525 { |
1518 return FrameNetworkingContextImpl::create(m_webFrame->frame()); | 1526 return FrameNetworkingContextImpl::create(m_webFrame->frame()); |
1519 } | 1527 } |
1520 | 1528 |
1521 } // namespace WebKit | 1529 } // namespace WebKit |
OLD | NEW |