| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 { | 100 { |
| 101 WebCore::V8Proxy::registerExtension(extension, WebString()); | 101 WebCore::V8Proxy::registerExtension(extension, WebString()); |
| 102 } | 102 } |
| 103 | 103 |
| 104 void registerExtension(v8::Extension* extension, | 104 void registerExtension(v8::Extension* extension, |
| 105 const WebString& schemeRestriction) | 105 const WebString& schemeRestriction) |
| 106 { | 106 { |
| 107 WebCore::V8Proxy::registerExtension(extension, schemeRestriction); | 107 WebCore::V8Proxy::registerExtension(extension, schemeRestriction); |
| 108 } | 108 } |
| 109 | 109 |
| 110 void registerExtension(v8::Extension* extension, int extensionGroup) |
| 111 { |
| 112 WebCore::V8Proxy::registerExtension(extension, extensionGroup); |
| 113 } |
| 114 |
| 110 void flushConsoleMessages() | 115 void flushConsoleMessages() |
| 111 { | 116 { |
| 112 WebCore::V8Proxy::processConsoleMessages(); | 117 WebCore::V8Proxy::processConsoleMessages(); |
| 113 } | 118 } |
| 114 | 119 |
| 115 void enableMediaPlayer() | 120 void enableMediaPlayer() |
| 116 { | 121 { |
| 117 #if ENABLE(VIDEO) | 122 #if ENABLE(VIDEO) |
| 118 WebMediaPlayerClientImpl::setIsEnabled(true); | 123 WebMediaPlayerClientImpl::setIsEnabled(true); |
| 119 #endif | 124 #endif |
| (...skipping 11 matching lines...) Expand all Loading... |
| 131 #endif | 136 #endif |
| 132 } | 137 } |
| 133 | 138 |
| 134 bool databasesEnabled() | 139 bool databasesEnabled() |
| 135 { | 140 { |
| 136 return s_databasesEnabled; | 141 return s_databasesEnabled; |
| 137 } | 142 } |
| 138 | 143 |
| 139 | 144 |
| 140 } // namespace WebKit | 145 } // namespace WebKit |
| OLD | NEW |