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

Unified Diff: content/common/view_messages.h

Issue 790413002: Focus following for the non-editable controls on web page in magnifier mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a nit. Created 6 years 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 10a1c1aef2f3e228541695eec5b1e1f2f25a7a26..9b126d6aa46c1436e224a28fe4f9a443e4c0243d 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1149,10 +1149,12 @@ IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus)
IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)
// Message sent from renderer to the browser when focus changes inside the
-// webpage. The parameter says whether the newly focused element needs
+// webpage. The first parameter says whether the newly focused element needs
// keyboard input (true for textfields, text areas and content editable divs).
-IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged,
- bool /* is_editable_node */)
+// The second parameter is the node bounds relative to RenderWidgetHostView.
+IPC_MESSAGE_ROUTED2(ViewHostMsg_FocusedNodeChanged,
+ bool /* is_editable_node */,
+ gfx::Rect /* node_bounds */)
IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor)

Powered by Google App Engine
This is Rietveld 408576698