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

Side by Side Diff: Tools/DumpRenderTree/chromium/TestShell.h

Issue 14651028: Promote RenderLayers that have a transition on opacity, transform, or filter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // cause a hang. We can avoid killing TestShell in this case and still dump 109 // cause a hang. We can avoid killing TestShell in this case and still dump
110 // the test results. 110 // the test results.
111 void testTimedOut(); 111 void testTimedOut();
112 112
113 bool allowExternalPages() const { return m_allowExternalPages; } 113 bool allowExternalPages() const { return m_allowExternalPages; }
114 void setAllowExternalPages(bool allowExternalPages) { m_allowExternalPages = allowExternalPages; } 114 void setAllowExternalPages(bool allowExternalPages) { m_allowExternalPages = allowExternalPages; }
115 115
116 void setAcceleratedCompositingForVideoEnabled(bool enabled) { m_acceleratedC ompositingForVideoEnabled = enabled; } 116 void setAcceleratedCompositingForVideoEnabled(bool enabled) { m_acceleratedC ompositingForVideoEnabled = enabled; }
117 void setAcceleratedCompositingForFixedPositionEnabled(bool enabled) { m_acce leratedCompositingForFixedPositionEnabled = enabled; } 117 void setAcceleratedCompositingForFixedPositionEnabled(bool enabled) { m_acce leratedCompositingForFixedPositionEnabled = enabled; }
118 void setAcceleratedCompositingForOverflowScrollEnabled(bool enabled) { m_acc eleratedCompositingForOverflowScrollEnabled = enabled; } 118 void setAcceleratedCompositingForOverflowScrollEnabled(bool enabled) { m_acc eleratedCompositingForOverflowScrollEnabled = enabled; }
119 void setAcceleratedCompositingForTransitionEnabled(bool enabled) { m_acceler atedCompositingForTransitionEnabled = enabled; }
119 bool softwareCompositingEnabled() { return m_softwareCompositingEnabled; } 120 bool softwareCompositingEnabled() { return m_softwareCompositingEnabled; }
120 void setSoftwareCompositingEnabled(bool enabled) { m_softwareCompositingEnab led = enabled; } 121 void setSoftwareCompositingEnabled(bool enabled) { m_softwareCompositingEnab led = enabled; }
121 void setThreadedCompositingEnabled(bool enabled) { m_threadedCompositingEnab led = enabled; } 122 void setThreadedCompositingEnabled(bool enabled) { m_threadedCompositingEnab led = enabled; }
122 void setForceCompositingMode(bool enabled) { m_forceCompositingMode = enable d; } 123 void setForceCompositingMode(bool enabled) { m_forceCompositingMode = enable d; }
123 void setThreadedHTMLParser(bool enabled) { m_threadedHTMLParser = enabled; } 124 void setThreadedHTMLParser(bool enabled) { m_threadedHTMLParser = enabled; }
124 void setAccelerated2dCanvasEnabled(bool enabled) { m_accelerated2dCanvasEnab led = enabled; } 125 void setAccelerated2dCanvasEnabled(bool enabled) { m_accelerated2dCanvasEnab led = enabled; }
125 void setPerTilePaintingEnabled(bool enabled) { m_perTilePaintingEnabled = en abled; } 126 void setPerTilePaintingEnabled(bool enabled) { m_perTilePaintingEnabled = en abled; }
126 void setDeferredImageDecodingEnabled(bool enabled) { m_deferredImageDecoding Enabled = enabled; } 127 void setDeferredImageDecodingEnabled(bool enabled) { m_deferredImageDecoding Enabled = enabled; }
127 #if defined(OS_WIN) 128 #if defined(OS_WIN)
128 // Access to the finished event. Used by the static WatchDog thread. 129 // Access to the finished event. Used by the static WatchDog thread.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 OwnPtr<WebViewHost> m_webViewHost; 203 OwnPtr<WebViewHost> m_webViewHost;
203 OwnPtr<MockWebPrerenderingSupport> m_prerenderingSupport; 204 OwnPtr<MockWebPrerenderingSupport> m_prerenderingSupport;
204 205
205 TestParams m_params; 206 TestParams m_params;
206 bool m_dumpPixelsForCurrentTest; 207 bool m_dumpPixelsForCurrentTest;
207 int m_timeout; // timeout value in millisecond 208 int m_timeout; // timeout value in millisecond
208 bool m_allowExternalPages; 209 bool m_allowExternalPages;
209 bool m_acceleratedCompositingForVideoEnabled; 210 bool m_acceleratedCompositingForVideoEnabled;
210 bool m_acceleratedCompositingForFixedPositionEnabled; 211 bool m_acceleratedCompositingForFixedPositionEnabled;
211 bool m_acceleratedCompositingForOverflowScrollEnabled; 212 bool m_acceleratedCompositingForOverflowScrollEnabled;
213 bool m_acceleratedCompositingForTransitionEnabled;
212 bool m_softwareCompositingEnabled; 214 bool m_softwareCompositingEnabled;
213 bool m_threadedCompositingEnabled; 215 bool m_threadedCompositingEnabled;
214 bool m_forceCompositingMode; 216 bool m_forceCompositingMode;
215 bool m_threadedHTMLParser; 217 bool m_threadedHTMLParser;
216 bool m_accelerated2dCanvasEnabled; 218 bool m_accelerated2dCanvasEnabled;
217 bool m_perTilePaintingEnabled; 219 bool m_perTilePaintingEnabled;
218 bool m_deferredImageDecodingEnabled; 220 bool m_deferredImageDecodingEnabled;
219 WebTestRunner::WebPreferences m_prefs; 221 WebTestRunner::WebPreferences m_prefs;
220 bool m_stressOpt; 222 bool m_stressOpt;
221 bool m_stressDeopt; 223 bool m_stressDeopt;
(...skipping 10 matching lines...) Expand all
232 // Used by the watchdog to know when it's finished. 234 // Used by the watchdog to know when it's finished.
233 HANDLE m_finishedEvent; 235 HANDLE m_finishedEvent;
234 #endif 236 #endif
235 }; 237 };
236 238
237 void platformInit(int*, char***); 239 void platformInit(int*, char***);
238 void openStartupDialog(); 240 void openStartupDialog();
239 bool checkLayoutTestSystemDependencies(); 241 bool checkLayoutTestSystemDependencies();
240 242
241 #endif // TestShell_h 243 #endif // TestShell_h
OLDNEW
« no previous file with comments | « Tools/DumpRenderTree/chromium/TestRunner/src/WebPreferences.cpp ('k') | Tools/DumpRenderTree/chromium/TestShell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698