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

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: Fixing visibility Created 8 years, 2 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/content_renderer.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1413 matching lines...) Expand 10 before | Expand all | Expand 10 after
1424 // Tell the renderer that plugin IME has completed. 1424 // Tell the renderer that plugin IME has completed.
1425 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, 1425 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted,
1426 string16 /* text */, 1426 string16 /* text */,
1427 int /* plugin_id */) 1427 int /* plugin_id */)
1428 1428
1429 // External popup menus. 1429 // External popup menus.
1430 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, 1430 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem,
1431 int /* selected index, -1 means no selection */) 1431 int /* selected index, -1 means no selection */)
1432 #endif 1432 #endif
1433 1433
1434 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer
1435 // process to release the magnified image.
1436 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB,
1437 TransportDIB::Handle /* DIB handle */)
1438
1434 // ----------------------------------------------------------------------------- 1439 // -----------------------------------------------------------------------------
1435 // Messages sent from the renderer to the browser. 1440 // Messages sent from the renderer to the browser.
1436 1441
1437 // Sent by the renderer when it is creating a new window. The browser creates 1442 // Sent by the renderer when it is creating a new window. The browser creates
1438 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1443 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1439 // MSG_ROUTING_NONE, the view couldn't be created. 1444 // MSG_ROUTING_NONE, the view couldn't be created.
1440 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, 1445 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow,
1441 ViewHostMsg_CreateWindow_Params, 1446 ViewHostMsg_CreateWindow_Params,
1442 int /* route_id */, 1447 int /* route_id */,
1443 int32 /* surface_id */, 1448 int32 /* surface_id */,
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
2388 // marker, in similarly normalized coords (or an empty rect if there isn't one). 2393 // marker, in similarly normalized coords (or an empty rect if there isn't one).
2389 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply, 2394 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply,
2390 int /* version */, 2395 int /* version */,
2391 std::vector<gfx::RectF> /* rects */, 2396 std::vector<gfx::RectF> /* rects */,
2392 gfx::RectF /* active_rect */) 2397 gfx::RectF /* active_rect */)
2393 2398
2394 // Start an android intent with the given URI. 2399 // Start an android intent with the given URI.
2395 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, 2400 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent,
2396 GURL /* content_url */) 2401 GURL /* content_url */)
2397 #endif 2402 #endif
2403
2404 // Notifies that multiple touch targets may have been pressed, and to show
2405 // the disambiguation popup.
2406 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup,
2407 gfx::Rect, /* Border of touched targets */
2408 gfx::Size, /* Size of zoomed image */
2409 TransportDIB::Id /* DIB of zoomed image */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698