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

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: Rename IPCs, move popup size calculation to helper class 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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 IPC::PlatformFileForTransit /* file handle */) 1353 IPC::PlatformFileForTransit /* file handle */)
1354 1354
1355 // Temporary message to diagnose an unexpected condition in WebContentsImpl. 1355 // Temporary message to diagnose an unexpected condition in WebContentsImpl.
1356 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData, 1356 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData,
1357 GURL /* data */) 1357 GURL /* data */)
1358 1358
1359 // Change the accessibility mode in the renderer process. 1359 // Change the accessibility mode in the renderer process.
1360 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode, 1360 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode,
1361 AccessibilityMode) 1361 AccessibilityMode)
1362 1362
1363 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer
1364 // process to release the magnified image.
1365 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB,
1366 TransportDIB::Handle /* DIB handle */)
1367
1363 // ----------------------------------------------------------------------------- 1368 // -----------------------------------------------------------------------------
1364 // Messages sent from the renderer to the browser. 1369 // Messages sent from the renderer to the browser.
1365 1370
1366 // Sent by the renderer when it is creating a new window. The browser creates 1371 // Sent by the renderer when it is creating a new window. The browser creates
1367 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1372 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1368 // MSG_ROUTING_NONE, the view couldn't be created. 1373 // MSG_ROUTING_NONE, the view couldn't be created.
1369 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, 1374 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow,
1370 ViewHostMsg_CreateWindow_Params, 1375 ViewHostMsg_CreateWindow_Params,
1371 int /* route_id */, 1376 int /* route_id */,
1372 int32 /* surface_id */, 1377 int32 /* surface_id */,
(...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
2273 // * id - (integer) the frame identifier in this RenderView 2278 // * id - (integer) the frame identifier in this RenderView
2274 // * name - (string) the name of the frame, if one has been assigned 2279 // * name - (string) the name of the frame, if one has been assigned
2275 // * subtree - an array of the same type of objects for each frame that is a 2280 // * subtree - an array of the same type of objects for each frame that is a
2276 // direct child of the current frame. This property can be omitted if 2281 // direct child of the current frame. This property can be omitted if
2277 // there are no direct child frames, so less data is transferred. 2282 // there are no direct child frames, so less data is transferred.
2278 // 2283 //
2279 // This message must be sent on any events that modify the tree structure or 2284 // This message must be sent on any events that modify the tree structure or
2280 // the names of any frames. 2285 // the names of any frames.
2281 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameTreeUpdated, 2286 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameTreeUpdated,
2282 std::string /* json encoded frame tree */) 2287 std::string /* json encoded frame tree */)
2288
2289 // Notifies that multiple touch targets may have been pressed, and to show
2290 // the disambiguation popup.
2291 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup,
2292 gfx::Rect, /* Border of touched targets */
2293 gfx::Size, /* Size of zoomed image */
2294 TransportDIB::Id /* DIB of zoomed image */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698