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

Unified Diff: content/common/view_messages.h

Issue 145283003: Switch AccessibilityMode to be a bitmap (Closed) Base URL: https://chromium.googlesource.com/chromium/src@enable
Patch Set: Tweak AccessibilityModeHelperTest Created 6 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/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 9d3d6860e06ab66a7dfc21ae99cabf4648ae2e15..498f41d22d5e705e06ca56f2a18e98c4db149dd0 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -73,7 +73,7 @@
#define IPC_MESSAGE_START ViewMsgStart
-IPC_ENUM_TRAITS(AccessibilityMode)
+IPC_ENUM_TRAITS(AccessibilityModeFlag)
IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value)
IPC_ENUM_TRAITS(blink::WebContextMenuData::MediaType)
IPC_ENUM_TRAITS(blink::WebMediaPlayerAction::Type)
@@ -743,7 +743,7 @@ IPC_STRUCT_BEGIN(ViewMsg_New_Params)
IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info)
// The accessibility mode of the renderer.
- IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode)
+ IPC_STRUCT_MEMBER(unsigned int, accessibility_mode)
// Specifies whether partially swapping composited buffers is
// allowed for a renderer. Partial swaps will be used if they are both
@@ -1267,7 +1267,7 @@ IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData,
// Change the accessibility mode in the renderer process.
IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode,
- AccessibilityMode)
+ unsigned int /* accessibility_mode */)
// An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer
// process to release the magnified image.

Powered by Google App Engine
This is Rietveld 408576698