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

Side by Side 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, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after
1336 IPC::PlatformFileForTransit /* file handle */) 1336 IPC::PlatformFileForTransit /* file handle */)
1337 1337
1338 // Temporary message to diagnose an unexpected condition in WebContentsImpl. 1338 // Temporary message to diagnose an unexpected condition in WebContentsImpl.
1339 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData, 1339 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData,
1340 GURL /* data */) 1340 GURL /* data */)
1341 1341
1342 // Change the accessibility mode in the renderer process. 1342 // Change the accessibility mode in the renderer process.
1343 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode, 1343 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode,
1344 AccessibilityMode) 1344 AccessibilityMode)
1345 1345
1346 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer
1347 // process to release the magnified image.
1348 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB,
1349 TransportDIB::Handle /* DIB handle */)
1350
1346 // ----------------------------------------------------------------------------- 1351 // -----------------------------------------------------------------------------
1347 // Messages sent from the renderer to the browser. 1352 // Messages sent from the renderer to the browser.
1348 1353
1349 // Sent by the renderer when it is creating a new window. The browser creates 1354 // Sent by the renderer when it is creating a new window. The browser creates
1350 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1355 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1351 // MSG_ROUTING_NONE, the view couldn't be created. 1356 // MSG_ROUTING_NONE, the view couldn't be created.
1352 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, 1357 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow,
1353 ViewHostMsg_CreateWindow_Params, 1358 ViewHostMsg_CreateWindow_Params,
1354 int /* route_id */, 1359 int /* route_id */,
1355 int32 /* surface_id */, 1360 int32 /* surface_id */,
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after
2225 // (according to the value of is_hung). The browser can give the user the 2230 // (according to the value of is_hung). The browser can give the user the
2226 // option of killing the plugin. 2231 // option of killing the plugin.
2227 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2232 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2228 int /* plugin_child_id */, 2233 int /* plugin_child_id */,
2229 FilePath /* path */, 2234 FilePath /* path */,
2230 bool /* is_hung */) 2235 bool /* is_hung */)
2231 2236
2232 // Screen was rotated. Dispatched to the onorientationchange javascript API. 2237 // Screen was rotated. Dispatched to the onorientationchange javascript API.
2233 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, 2238 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent,
2234 int /* orientation */) 2239 int /* orientation */)
2240
2241 // Notifies that multiple touch targets may have been pressed, and to show
2242 // the disambiguation popup.
2243 IPC_MESSAGE_ROUTED3(ViewHostMsg_MultipleTargetsTouched,
2244 gfx::Rect, /* Border of touched targets */
2245 gfx::Size, /* Size of zoomed image */
2246 TransportDIB::Id /* DIB of zoomed image */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698