summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-16 00:18:56 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-16 00:18:56 +0000
commita6e14c9c3c2af6b0a541c9399a984bdf1c4398ad (patch)
tree28914f6af3bbc7aa340a4f95a65470043d19f69f /chrome
parenta26d62f00cb97e14780ff719a547bae2fc1d365e (diff)
downloadchromium_src-a6e14c9c3c2af6b0a541c9399a984bdf1c4398ad.zip
chromium_src-a6e14c9c3c2af6b0a541c9399a984bdf1c4398ad.tar.gz
chromium_src-a6e14c9c3c2af6b0a541c9399a984bdf1c4398ad.tar.bz2
Turn on the magic frames.
B=1031854 Review URL: http://codereview.chromium.org/3063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2253 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/browser_process_impl.h2
-rw-r--r--chrome/test/accessibility/constants.h6
2 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index 82f275f..8e302c6 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -177,7 +177,7 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe {
virtual bool IsUsingNewFrames() {
DCHECK(CalledOnValidThread());
if (!checked_for_new_frames_) {
- using_new_frames_ = CommandLine().HasSwitch(L"magic_browzR");
+ using_new_frames_ = !CommandLine().HasSwitch(L"use-old-frames");
checked_for_new_frames_ = true;
}
return using_new_frames_;
diff --git a/chrome/test/accessibility/constants.h b/chrome/test/accessibility/constants.h
index b265e4b..7a766f5 100644
--- a/chrome/test/accessibility/constants.h
+++ b/chrome/test/accessibility/constants.h
@@ -8,6 +8,12 @@
#include <windows.h>
#include <tchar.h>
+// Use the view indices for the new frames, rather than the old ones. With this
+// defined the accessibility ui tests will fail when the old frames are used.
+// TODO(beng): (1031854) remove when the old frames are completely removed from
+// the codebase.
+#define NEW_FRAMES
+
///////////////////////////////////////////////////////////////////
// Constant Definitations specific to Chrome Accessibility Tests.
///////////////////////////////////////////////////////////////////