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

Unified Diff: webkit/tools/test_shell/test_shell.h

Issue 3440029: test_shell command line switch enable-accelerated-compositing added (Closed)
Patch Set: Created 10 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell.h
diff --git a/webkit/tools/test_shell/test_shell.h b/webkit/tools/test_shell/test_shell.h
index d40167ef5d9a2ebc9997f546d9fda21d29054f5c..f055e2752244ef7e4ca3ffbcae3e523506d391c8 100644
--- a/webkit/tools/test_shell/test_shell.h
+++ b/webkit/tools/test_shell/test_shell.h
@@ -279,6 +279,7 @@ public:
static void SetAllowScriptsToCloseWindows();
static void SetAccelerated2dCanvasEnabled(bool enabled);
+ static void SetAcceleratedCompositingEnabled(bool enabled);
WebPreferences* GetWebPreferences() { return web_prefs_; }
@@ -437,6 +438,9 @@ private:
// True if we're testing the accelerated canvas 2d path.
static bool accelerated_2d_canvas_enabled_;
+ // True if we're testing the accelerated compositing.
+ static bool accelerated_compositing_enabled_;
+
// True if driven from a nested message loop.
bool is_modal_;
« no previous file with comments | « no previous file | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698