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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2694413006: Scope and clean up uses of AccessibilityMode. (Closed)
Patch Set: build bustage Created 3 years, 10 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
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 2e9c7d131fbccf9a12eacfe4eaef8db1e9da4f8a..e5f4858d10595d620f3a98d6d51afcea6e331867 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -1082,7 +1082,7 @@ RenderFrameImpl::RenderFrameImpl(const CreateParams& params)
presentation_dispatcher_(NULL),
screen_orientation_dispatcher_(NULL),
manifest_manager_(NULL),
- accessibility_mode_(AccessibilityModeOff),
+ accessibility_mode_(AccessibilityMode::OFF),
render_accessibility_(NULL),
media_player_delegate_(NULL),
previews_state_(PREVIEWS_UNSPECIFIED),
@@ -2104,7 +2104,7 @@ void RenderFrameImpl::OnSetAccessibilityMode(AccessibilityMode new_mode) {
render_accessibility_ = NULL;
}
- if (accessibility_mode_ & ACCESSIBILITY_MODE_FLAG_WEB_CONTENTS) {
+ if (accessibility_mode_ & AccessibilityMode::WEB_CONTENTS) {
render_accessibility_ = new RenderAccessibilityImpl(
this, accessibility_mode_);
}

Powered by Google App Engine
This is Rietveld 408576698