summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
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.
///////////////////////////////////////////////////////////////////