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

Unified Diff: content/common/frame_messages.h

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/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 35126af5ae7246371ac44de403868e75c78c3e96..e03fe0ba7c0183769b538c645ca5147d94c0f08f 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -751,6 +751,10 @@ IPC_MESSAGE_ROUTED2(FrameMsg_ExtractSmartClipData,
IPC_MESSAGE_ROUTED1(FrameMsg_FocusedFormFieldDataRequest, int /* request_id */)
// Change the accessibility mode in the renderer process.
+IPC_ENUM_TRAITS_VALIDATE(AccessibilityMode,
+ (value >= AccessibilityMode::OFF &&
+ value <= AccessibilityMode::COMPLETE))
+
IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode,
AccessibilityMode)

Powered by Google App Engine
This is Rietveld 408576698