Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: Tools/DumpRenderTree/chromium/TestRunner/src/TestInterfaces.cpp

Issue 14298018: This CL implements the first draft of Canvas 2D Context Attributes, aka getContext('2d', { alpha: f… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased to ToT; test cleanup Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/platform/graphics/skia/ImageBufferSkia.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/skia/ImageBufferSkia.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698