summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-04 21:41:00 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-04 21:41:00 +0000
commit4fb668468ccbf3c79ea359beea537ab183c36086 (patch)
tree2e1dfc30a295d65e41de52bbedfddaa067b6e842 /chrome/common/chrome_switches.cc
parentb967dad2957a86bd0aed778932b63d89c9795a0f (diff)
downloadchromium_src-4fb668468ccbf3c79ea359beea537ab183c36086.zip
chromium_src-4fb668468ccbf3c79ea359beea537ab183c36086.tar.gz
chromium_src-4fb668468ccbf3c79ea359beea537ab183c36086.tar.bz2
Preserve optimized scrolling in the presence of multiple animating rects.
Change PlatformCanvas so that it only fills with "sea foam green" when bitmap data is not externally supplied. Modifying the interface to make this an option bloated the CL too much. I may do this as a follow-up. Adds a new --show-paint-rects command line flag that will render a border around paint rects to help debug and study WebKit painting issues. R=brettw BUG=25905 TEST=none Review URL: http://codereview.chromium.org/414016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33861 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 0b5dd5a..3160bd8 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -525,6 +525,10 @@ const char kShowIcons[] = "show-icons";
// Show extensions on top with toolbar.
const char kShowExtensionsOnTop[] = "show-extensions-on-top";
+// Visibly render a border around paint rects in the web page to help debug
+// and study painting behavior.
+const char kShowPaintRects[] = "show-paint-rects";
+
// Change the DCHECKS to dump memory and continue instead of displaying error
// dialog. This is valid only in Release mode when --enable-dcheck is
// specified.