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

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

Issue 7990005: Use a placeholder instead of the default plugin for missing plug-ins on Mac and Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
(...skipping 1451 matching lines...) Expand 10 before | Expand all | Expand 10 after
1462 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_CookiesEnabled, 1462 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_CookiesEnabled,
1463 GURL /* url */, 1463 GURL /* url */,
1464 GURL /* first_party_for_cookies */, 1464 GURL /* first_party_for_cookies */,
1465 bool /* cookies_enabled */) 1465 bool /* cookies_enabled */)
1466 1466
1467 // Used to get the list of plugins 1467 // Used to get the list of plugins
1468 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins, 1468 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins,
1469 bool /* refresh*/, 1469 bool /* refresh*/,
1470 std::vector<webkit::WebPluginInfo> /* plugins */) 1470 std::vector<webkit::WebPluginInfo> /* plugins */)
1471 1471
1472 // Return information about a plugin for the given URL and MIME 1472 // Return information about a plugin for the given URL and MIME
jam 2011/09/27 16:51:34 nit: update comment
Bernhard Bauer 2011/09/29 13:20:47 Done.
1473 // type. If there is no matching plugin, |found| is false. 1473 // type. If there is no matching plugin, |found| is false.
1474 // |actual_mime_type| is the actual mime type supported by the 1474 // |actual_mime_type| is the actual mime type supported by the
1475 // plugin found that match the URL given (one for each item in 1475 // plugin found that match the URL given (one for each item in
1476 // |info|). 1476 // |info|).
1477 IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo, 1477 IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetMatchingPlugins,
1478 int /* routing_id */, 1478 int /* routing_id */,
1479 GURL /* url */, 1479 GURL /* url */,
1480 GURL /* page_url */, 1480 GURL /* page_url */,
1481 std::string /* mime_type */, 1481 std::string /* mime_type */,
1482 bool /* found */, 1482 std::vector<webkit::WebPluginInfo> /* plugins */,
1483 webkit::WebPluginInfo /* plugin info */, 1483 std::vector<std::string> /* mime_types */,
1484 std::string /* actual_mime_type */) 1484 std::vector<bool> /* allowed */)
1485 1485
1486 // A renderer sends this to the browser process when it wants to 1486 // A renderer sends this to the browser process when it wants to
1487 // create a plugin. The browser will create the plugin process if 1487 // create a plugin. The browser will create the plugin process if
1488 // necessary, and will return a handle to the channel on success. 1488 // necessary, and will return a handle to the channel on success.
1489 // On error an empty string is returned. 1489 // On error an empty string is returned.
1490 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, 1490 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin,
1491 int /* routing_id */, 1491 int /* routing_id */,
1492 GURL /* url */, 1492 GURL /* url */,
1493 GURL /* page_url */, 1493 GURL /* page_url */,
1494 std::string /* mime_type */, 1494 std::string /* mime_type */,
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
1946 1946
1947 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 1947 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
1948 // being sent back. 1948 // being sent back.
1949 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) 1949 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse)
1950 1950
1951 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 1951 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
1952 // whenever the mouse is unlocked (which may or may not be caused by 1952 // whenever the mouse is unlocked (which may or may not be caused by
1953 // ViewHostMsg_UnlockMouse). 1953 // ViewHostMsg_UnlockMouse).
1954 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 1954 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
1955 1955
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698