| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 WebRuntimeFeatures::enableVideoTrack(true); | 76 WebRuntimeFeatures::enableVideoTrack(true); |
| 77 WebRuntimeFeatures::enableGamepad(true); | 77 WebRuntimeFeatures::enableGamepad(true); |
| 78 WebRuntimeFeatures::enableCustomDOMElements(true); | 78 WebRuntimeFeatures::enableCustomDOMElements(true); |
| 79 WebRuntimeFeatures::enableStyleScoped(true); | 79 WebRuntimeFeatures::enableStyleScoped(true); |
| 80 WebRuntimeFeatures::enableScriptedSpeech(true); | 80 WebRuntimeFeatures::enableScriptedSpeech(true); |
| 81 WebRuntimeFeatures::enableRequestAutocomplete(true); | 81 WebRuntimeFeatures::enableRequestAutocomplete(true); |
| 82 WebRuntimeFeatures::enableExperimentalContentSecurityPolicyFeatures(true); | 82 WebRuntimeFeatures::enableExperimentalContentSecurityPolicyFeatures(true); |
| 83 WebRuntimeFeatures::enableSeamlessIFrames(true); | 83 WebRuntimeFeatures::enableSeamlessIFrames(true); |
| 84 WebRuntimeFeatures::enableCanvasPath(true); | 84 WebRuntimeFeatures::enableCanvasPath(true); |
| 85 WebRuntimeFeatures::enableExperimentalShadowDOM(true); | 85 WebRuntimeFeatures::enableExperimentalShadowDOM(true); |
| 86 WebRuntimeFeatures::enableExperimentalCanvasFeatures(true); |
| 86 | 87 |
| 87 resetAll(); | 88 resetAll(); |
| 88 } | 89 } |
| 89 | 90 |
| 90 TestInterfaces::~TestInterfaces() | 91 TestInterfaces::~TestInterfaces() |
| 91 { | 92 { |
| 92 m_accessibilityController->setWebView(0); | 93 m_accessibilityController->setWebView(0); |
| 93 m_eventSender->setWebView(0); | 94 m_eventSender->setWebView(0); |
| 94 // m_gamepadController doesn't depend on WebView. | 95 // m_gamepadController doesn't depend on WebView. |
| 95 m_textInputController->setWebView(0); | 96 m_textInputController->setWebView(0); |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 m_themeEngine.reset(new WebTestThemeEngineWin()); | 222 m_themeEngine.reset(new WebTestThemeEngineWin()); |
| 222 return m_themeEngine.get(); | 223 return m_themeEngine.get(); |
| 223 #elif defined(__APPLE__) | 224 #elif defined(__APPLE__) |
| 224 if (!m_themeEngine.get()) | 225 if (!m_themeEngine.get()) |
| 225 m_themeEngine.reset(new WebTestThemeEngineMac()); | 226 m_themeEngine.reset(new WebTestThemeEngineMac()); |
| 226 return m_themeEngine.get(); | 227 return m_themeEngine.get(); |
| 227 #endif | 228 #endif |
| 228 } | 229 } |
| 229 | 230 |
| 230 } | 231 } |
| OLD | NEW |