Index: content/common/frame_messages.h |
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h |
index 38f4e199fdbe714e9adb5f0831631a0a267f3e6a..c0d8afa1abea558a14193afc36595116f97715c3 100644 |
--- a/content/common/frame_messages.h |
+++ b/content/common/frame_messages.h |
@@ -24,6 +24,9 @@ |
#define IPC_MESSAGE_START FrameMsgStart |
+IPC_ENUM_TRAITS_MIN_MAX_VALUE(AccessibilityMode, |
+ AccessibilityModeOff, |
+ AccessibilityModeComplete) |
nasko
2014/05/12 17:28:01
Nice! Thanks for making the IPC more secure!
dmazzoni
2014/05/13 06:36:52
:)
|
IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::JavaScriptMessageType, |
content::JAVASCRIPT_MESSAGE_TYPE_ALERT, |
content::JAVASCRIPT_MESSAGE_TYPE_PROMPT) |
@@ -353,6 +356,10 @@ IPC_MESSAGE_ROUTED2(FrameMsg_DidChooseColorResponse, unsigned, SkColor) |
// Notifies the color chooser client that the color chooser has ended. |
IPC_MESSAGE_ROUTED1(FrameMsg_DidEndColorChooser, unsigned) |
+// Change the accessibility mode in the renderer process. |
+IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, |
+ AccessibilityMode) |
+ |
// ----------------------------------------------------------------------------- |
// Messages sent from the renderer to the browser. |