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

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

Issue 13462003: Add support for accelerated fixed root background (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@background-attachment-fixed2
Patch Set: Moved the layout tests. Created 7 years, 6 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void setAcceleratedCompositingForTransitionEnabled(bool enabled) { m_acceler atedCompositingForTransitionEnabled = enabled; }
120 void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool enabled) { m_acceleratedCompositingForFixedRootBackgroundEnabled = enabled; }
jamesr 2013/06/13 19:48:47 DumpRenderTree is dead, I wouldn't bother trying t
120 bool softwareCompositingEnabled() { return m_softwareCompositingEnabled; } 121 bool softwareCompositingEnabled() { return m_softwareCompositingEnabled; }
121 void setSoftwareCompositingEnabled(bool enabled) { m_softwareCompositingEnab led = enabled; } 122 void setSoftwareCompositingEnabled(bool enabled) { m_softwareCompositingEnab led = enabled; }
122 void setThreadedCompositingEnabled(bool enabled) { m_threadedCompositingEnab led = enabled; } 123 void setThreadedCompositingEnabled(bool enabled) { m_threadedCompositingEnab led = enabled; }
123 void setForceCompositingMode(bool enabled) { m_forceCompositingMode = enable d; } 124 void setForceCompositingMode(bool enabled) { m_forceCompositingMode = enable d; }
124 void setThreadedHTMLParser(bool enabled) { m_threadedHTMLParser = enabled; } 125 void setThreadedHTMLParser(bool enabled) { m_threadedHTMLParser = enabled; }
125 void setAccelerated2dCanvasEnabled(bool enabled) { m_accelerated2dCanvasEnab led = enabled; } 126 void setAccelerated2dCanvasEnabled(bool enabled) { m_accelerated2dCanvasEnab led = enabled; }
126 void setPerTilePaintingEnabled(bool enabled) { m_perTilePaintingEnabled = en abled; } 127 void setPerTilePaintingEnabled(bool enabled) { m_perTilePaintingEnabled = en abled; }
127 void setDeferredImageDecodingEnabled(bool enabled) { m_deferredImageDecoding Enabled = enabled; } 128 void setDeferredImageDecodingEnabled(bool enabled) { m_deferredImageDecoding Enabled = enabled; }
128 #if defined(OS_WIN) 129 #if defined(OS_WIN)
129 // Access to the finished event. Used by the static WatchDog thread. 130 // Access to the finished event. Used by the static WatchDog thread.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 OwnPtr<MockWebPrerenderingSupport> m_prerenderingSupport; 205 OwnPtr<MockWebPrerenderingSupport> m_prerenderingSupport;
205 206
206 TestParams m_params; 207 TestParams m_params;
207 bool m_dumpPixelsForCurrentTest; 208 bool m_dumpPixelsForCurrentTest;
208 int m_timeout; // timeout value in millisecond 209 int m_timeout; // timeout value in millisecond
209 bool m_allowExternalPages; 210 bool m_allowExternalPages;
210 bool m_acceleratedCompositingForVideoEnabled; 211 bool m_acceleratedCompositingForVideoEnabled;
211 bool m_acceleratedCompositingForFixedPositionEnabled; 212 bool m_acceleratedCompositingForFixedPositionEnabled;
212 bool m_acceleratedCompositingForOverflowScrollEnabled; 213 bool m_acceleratedCompositingForOverflowScrollEnabled;
213 bool m_acceleratedCompositingForTransitionEnabled; 214 bool m_acceleratedCompositingForTransitionEnabled;
215 bool m_acceleratedCompositingForFixedRootBackgroundEnabled;
214 bool m_softwareCompositingEnabled; 216 bool m_softwareCompositingEnabled;
215 bool m_threadedCompositingEnabled; 217 bool m_threadedCompositingEnabled;
216 bool m_forceCompositingMode; 218 bool m_forceCompositingMode;
217 bool m_threadedHTMLParser; 219 bool m_threadedHTMLParser;
218 bool m_accelerated2dCanvasEnabled; 220 bool m_accelerated2dCanvasEnabled;
219 bool m_perTilePaintingEnabled; 221 bool m_perTilePaintingEnabled;
220 bool m_deferredImageDecodingEnabled; 222 bool m_deferredImageDecodingEnabled;
221 WebTestRunner::WebPreferences m_prefs; 223 WebTestRunner::WebPreferences m_prefs;
222 bool m_stressOpt; 224 bool m_stressOpt;
223 bool m_stressDeopt; 225 bool m_stressDeopt;
(...skipping 10 matching lines...) Expand all
234 // Used by the watchdog to know when it's finished. 236 // Used by the watchdog to know when it's finished.
235 HANDLE m_finishedEvent; 237 HANDLE m_finishedEvent;
236 #endif 238 #endif
237 }; 239 };
238 240
239 void platformInit(int*, char***); 241 void platformInit(int*, char***);
240 void openStartupDialog(); 242 void openStartupDialog();
241 bool checkLayoutTestSystemDependencies(); 243 bool checkLayoutTestSystemDependencies();
242 244
243 #endif // TestShell_h 245 #endif // TestShell_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698