| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 WEBKIT_EXPORT static bool isExperimentalContentSecurityPolicyFeaturesEnabled
(); | 174 WEBKIT_EXPORT static bool isExperimentalContentSecurityPolicyFeaturesEnabled
(); |
| 175 | 175 |
| 176 WEBKIT_EXPORT static void enableSeamlessIFrames(bool); | 176 WEBKIT_EXPORT static void enableSeamlessIFrames(bool); |
| 177 WEBKIT_EXPORT static bool areSeamlessIFramesEnabled(); | 177 WEBKIT_EXPORT static bool areSeamlessIFramesEnabled(); |
| 178 | 178 |
| 179 // If the flag is set, we use WebViewClient::showValidationMessage and | 179 // If the flag is set, we use WebViewClient::showValidationMessage and |
| 180 // hideVlidationMessage for interactive form validation. | 180 // hideVlidationMessage for interactive form validation. |
| 181 WEBKIT_EXPORT static void enableNativeValidationMessage(bool); | 181 WEBKIT_EXPORT static void enableNativeValidationMessage(bool); |
| 182 WEBKIT_EXPORT static bool isNativeValidationMessageEnabled(); | 182 WEBKIT_EXPORT static bool isNativeValidationMessageEnabled(); |
| 183 | 183 |
| 184 WEBKIT_EXPORT static void enableWebPInAcceptHeader(bool); |
| 185 WEBKIT_EXPORT static bool isWebPInAcceptHeaderEnabled(); |
| 186 |
| 184 private: | 187 private: |
| 185 WebRuntimeFeatures(); | 188 WebRuntimeFeatures(); |
| 186 }; | 189 }; |
| 187 | 190 |
| 188 } // namespace WebKit | 191 } // namespace WebKit |
| 189 | 192 |
| 190 #endif | 193 #endif |
| OLD | NEW |