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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2694413006: Scope and clean up uses of AccessibilityMode. (Closed)
Patch Set: merge Created 3 years, 9 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 | « content/renderer/render_view_browsertest.cc ('k') | content/test/accessibility_browser_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 1f484b7059e00038000846c782be1e82d879e992..eedbd517cafb7c4440b431ecac0c9d03448cf37f 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2499,10 +2499,7 @@ bool RenderViewImpl::didTapMultipleTargets(
// as this interferes with "touch exploration".
AccessibilityMode accessibility_mode =
GetMainRenderFrame()->accessibility_mode();
- bool matches_accessibility_mode_complete =
- (accessibility_mode & ACCESSIBILITY_MODE_COMPLETE) ==
- ACCESSIBILITY_MODE_COMPLETE;
- if (matches_accessibility_mode_complete)
+ if (accessibility_mode == kAccessibilityModeComplete)
return false;
// The touch_rect, target_rects and zoom_rect are in the outer viewport
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/test/accessibility_browser_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698