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

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

Issue 14735003: Remove compile time flag ENABLE_PAGE_POPUP . This is part of an overall effort to remove unneeded c… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 WebRuntimeFeatures::enableExperimentalCanvasFeatures(true);
87 WebRuntimeFeatures::enablePagePopup(true);
87 88
88 resetAll(); 89 resetAll();
89 } 90 }
90 91
91 TestInterfaces::~TestInterfaces() 92 TestInterfaces::~TestInterfaces()
92 { 93 {
93 m_accessibilityController->setWebView(0); 94 m_accessibilityController->setWebView(0);
94 m_eventSender->setWebView(0); 95 m_eventSender->setWebView(0);
95 // m_gamepadController doesn't depend on WebView. 96 // m_gamepadController doesn't depend on WebView.
96 m_textInputController->setWebView(0); 97 m_textInputController->setWebView(0);
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 m_themeEngine.reset(new WebTestThemeEngineWin()); 223 m_themeEngine.reset(new WebTestThemeEngineWin());
223 return m_themeEngine.get(); 224 return m_themeEngine.get();
224 #elif defined(__APPLE__) 225 #elif defined(__APPLE__)
225 if (!m_themeEngine.get()) 226 if (!m_themeEngine.get())
226 m_themeEngine.reset(new WebTestThemeEngineMac()); 227 m_themeEngine.reset(new WebTestThemeEngineMac());
227 return m_themeEngine.get(); 228 return m_themeEngine.get();
228 #endif 229 #endif
229 } 230 }
230 231
231 } 232 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698