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

Side by Side Diff: content/common/view_messages.h

Issue 234533002: Remove a bunch of TOOLKIT_GTK in content/ and gpu/, as well as NPAPI plugins on linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, skip changing browser_main_loop.cc because of presubmit issues, will follow up Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/content_browsertests.isolate » ('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/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after
1460 1460
1461 // A renderer sends this to the browser process when it wants to access a PPAPI 1461 // A renderer sends this to the browser process when it wants to access a PPAPI
1462 // broker. In contrast to ViewHostMsg_OpenChannelToPpapiBroker, this is called 1462 // broker. In contrast to ViewHostMsg_OpenChannelToPpapiBroker, this is called
1463 // for every connection. 1463 // for every connection.
1464 // The browser will respond with ViewMsg_PpapiBrokerPermissionResult. 1464 // The browser will respond with ViewMsg_PpapiBrokerPermissionResult.
1465 IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission, 1465 IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission,
1466 int /* routing_id */, 1466 int /* routing_id */,
1467 GURL /* document_url */, 1467 GURL /* document_url */,
1468 base::FilePath /* plugin_path */) 1468 base::FilePath /* plugin_path */)
1469 1469
1470 #if defined(USE_X11)
1471 // A renderer sends this when it needs a browser-side widget for
1472 // hosting a windowed plugin. id is the XID of the plugin window, for which
1473 // the container is created.
1474 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer,
1475 gfx::PluginWindowHandle /* id */)
1476
1477 // Destroy a plugin container previously created using CreatePluginContainer.
1478 // id is the XID of the plugin window corresponding to the container that is
1479 // to be destroyed.
1480 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer,
1481 gfx::PluginWindowHandle /* id */)
1482 #endif
1483
1484 // Send the tooltip text for the current mouse position to the browser. 1470 // Send the tooltip text for the current mouse position to the browser.
1485 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, 1471 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText,
1486 base::string16 /* tooltip text string */, 1472 base::string16 /* tooltip text string */,
1487 blink::WebTextDirection /* text direction hint */) 1473 blink::WebTextDirection /* text direction hint */)
1488 1474
1489 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK) 1475 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK)
1490 IPC_MESSAGE_ROUTED0(ViewHostMsg_MoveCaret_ACK) 1476 IPC_MESSAGE_ROUTED0(ViewHostMsg_MoveCaret_ACK)
1491 1477
1492 // Notification that the text selection has changed. 1478 // Notification that the text selection has changed.
1493 // Note: The secound parameter is the character based offset of the 1479 // Note: The secound parameter is the character based offset of the
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1872 // synchronously (see crbug.com/120597). This IPC message sends the character 1858 // synchronously (see crbug.com/120597). This IPC message sends the character
1873 // bounds after every composition change to always have correct bound info. 1859 // bounds after every composition change to always have correct bound info.
1874 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1860 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1875 gfx::Range /* composition range */, 1861 gfx::Range /* composition range */,
1876 std::vector<gfx::Rect> /* character bounds */) 1862 std::vector<gfx::Rect> /* character bounds */)
1877 #endif 1863 #endif
1878 1864
1879 // Adding a new message? Stick to the sort order above: first platform 1865 // Adding a new message? Stick to the sort order above: first platform
1880 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1866 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1881 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1867 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/content_browsertests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698