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

Unified Diff: content/common/view_messages.h

Issue 10885004: Implement disambiguation popup (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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 09b881f61830f325dfe4b4f89a0ecb0151121061..bc18bc82129650f2fd17549d46b1c0b8023020fc 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1343,6 +1343,11 @@ IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData,
IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode,
AccessibilityMode)
+// An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer
+// process to release the magnified image.
+IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB,
+ TransportDIB::Handle /* DIB handle */)
+
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.
@@ -2232,3 +2237,10 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
// Screen was rotated. Dispatched to the onorientationchange javascript API.
IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent,
int /* orientation */)
+
+// Notifies that multiple touch targets may have been pressed, and to show
+// the disambiguation popup.
+IPC_MESSAGE_ROUTED3(ViewHostMsg_MultipleTargetsTouched,
+ gfx::Rect, /* Border of touched targets */
+ gfx::Size, /* Size of zoomed image */
+ TransportDIB::Id /* DIB of zoomed image */)

Powered by Google App Engine
This is Rietveld 408576698