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

Unified Diff: content/common/frame_messages.h

Issue 273423004: Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 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.

Powered by Google App Engine
This is Rietveld 408576698