| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 130 |
| 131 void enableMediaPlayer() | 131 void enableMediaPlayer() |
| 132 { | 132 { |
| 133 #if ENABLE(VIDEO) | 133 #if ENABLE(VIDEO) |
| 134 WebMediaPlayerClientImpl::setIsEnabled(true); | 134 WebMediaPlayerClientImpl::setIsEnabled(true); |
| 135 #endif | 135 #endif |
| 136 } | 136 } |
| 137 | 137 |
| 138 void resetPluginCache() | 138 void resetPluginCache() |
| 139 { | 139 { |
| 140 WebCore::Page::refreshPlugins(false); | 140 WebCore::Page::refreshPlugins(true); |
| 141 } | 141 } |
| 142 | 142 |
| 143 void enableDatabases() | 143 void enableDatabases() |
| 144 { | 144 { |
| 145 #if ENABLE(DATABASE) | 145 #if ENABLE(DATABASE) |
| 146 s_databasesEnabled = true; | 146 s_databasesEnabled = true; |
| 147 #endif | 147 #endif |
| 148 } | 148 } |
| 149 | 149 |
| 150 bool databasesEnabled() | 150 bool databasesEnabled() |
| (...skipping 15 matching lines...) Expand all Loading... |
| 166 *WebCore::SecurityOrigin::create(sourceOrigin), destinationProtocol, | 166 *WebCore::SecurityOrigin::create(sourceOrigin), destinationProtocol, |
| 167 destinationHost, allowDestinationSubdomains); | 167 destinationHost, allowDestinationSubdomains); |
| 168 } | 168 } |
| 169 | 169 |
| 170 void resetOriginAccessWhiteLists() | 170 void resetOriginAccessWhiteLists() |
| 171 { | 171 { |
| 172 WebCore::SecurityOrigin::resetOriginAccessWhiteLists(); | 172 WebCore::SecurityOrigin::resetOriginAccessWhiteLists(); |
| 173 } | 173 } |
| 174 | 174 |
| 175 } // namespace WebKit | 175 } // namespace WebKit |
| OLD | NEW |