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

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: fix 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 21 matching lines...) Expand all
32 #include "ui/base/ime/text_input_type.h" 32 #include "ui/base/ime/text_input_type.h"
33 #include "ui/base/range/range.h" 33 #include "ui/base/range/range.h"
34 #include "ui/gfx/rect.h" 34 #include "ui/gfx/rect.h"
35 #include "webkit/glue/context_menu.h" 35 #include "webkit/glue/context_menu.h"
36 #include "webkit/glue/password_form.h" 36 #include "webkit/glue/password_form.h"
37 #include "webkit/glue/webcookie.h" 37 #include "webkit/glue/webcookie.h"
38 #include "webkit/glue/webmenuitem.h" 38 #include "webkit/glue/webmenuitem.h"
39 #include "webkit/glue/webpreferences.h" 39 #include "webkit/glue/webpreferences.h"
40 #include "webkit/glue/webaccessibility.h" 40 #include "webkit/glue/webaccessibility.h"
41 #include "webkit/plugins/npapi/webplugin.h" 41 #include "webkit/plugins/npapi/webplugin.h"
42 #include "webkit/plugins/webplugininfo.h"
43 42
44 #if defined(OS_MACOSX) 43 #if defined(OS_MACOSX)
45 #include "content/common/mac/font_descriptor.h" 44 #include "content/common/mac/font_descriptor.h"
46 #endif 45 #endif
47 46
48 #undef IPC_MESSAGE_EXPORT 47 #undef IPC_MESSAGE_EXPORT
49 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 48 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
50 49
51 #define IPC_MESSAGE_START ViewMsgStart 50 #define IPC_MESSAGE_START ViewMsgStart
52 51
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 293
295 IPC_STRUCT_TRAITS_BEGIN(webkit::npapi::WebPluginGeometry) 294 IPC_STRUCT_TRAITS_BEGIN(webkit::npapi::WebPluginGeometry)
296 IPC_STRUCT_TRAITS_MEMBER(window) 295 IPC_STRUCT_TRAITS_MEMBER(window)
297 IPC_STRUCT_TRAITS_MEMBER(window_rect) 296 IPC_STRUCT_TRAITS_MEMBER(window_rect)
298 IPC_STRUCT_TRAITS_MEMBER(clip_rect) 297 IPC_STRUCT_TRAITS_MEMBER(clip_rect)
299 IPC_STRUCT_TRAITS_MEMBER(cutout_rects) 298 IPC_STRUCT_TRAITS_MEMBER(cutout_rects)
300 IPC_STRUCT_TRAITS_MEMBER(rects_valid) 299 IPC_STRUCT_TRAITS_MEMBER(rects_valid)
301 IPC_STRUCT_TRAITS_MEMBER(visible) 300 IPC_STRUCT_TRAITS_MEMBER(visible)
302 IPC_STRUCT_TRAITS_END() 301 IPC_STRUCT_TRAITS_END()
303 302
304 IPC_STRUCT_TRAITS_BEGIN(webkit::WebPluginMimeType)
305 IPC_STRUCT_TRAITS_MEMBER(mime_type)
306 IPC_STRUCT_TRAITS_MEMBER(file_extensions)
307 IPC_STRUCT_TRAITS_MEMBER(description)
308 IPC_STRUCT_TRAITS_MEMBER(additional_param_names)
309 IPC_STRUCT_TRAITS_MEMBER(additional_param_values)
310 IPC_STRUCT_TRAITS_END()
311
312 IPC_STRUCT_TRAITS_BEGIN(webkit::WebPluginInfo)
313 IPC_STRUCT_TRAITS_MEMBER(name)
314 IPC_STRUCT_TRAITS_MEMBER(path)
315 IPC_STRUCT_TRAITS_MEMBER(version)
316 IPC_STRUCT_TRAITS_MEMBER(desc)
317 IPC_STRUCT_TRAITS_MEMBER(mime_types)
318 IPC_STRUCT_TRAITS_MEMBER(type)
319 IPC_STRUCT_TRAITS_END()
320
321 IPC_STRUCT_TRAITS_BEGIN(media::MediaLogEvent) 303 IPC_STRUCT_TRAITS_BEGIN(media::MediaLogEvent)
322 IPC_STRUCT_TRAITS_MEMBER(id) 304 IPC_STRUCT_TRAITS_MEMBER(id)
323 IPC_STRUCT_TRAITS_MEMBER(type) 305 IPC_STRUCT_TRAITS_MEMBER(type)
324 IPC_STRUCT_TRAITS_MEMBER(params) 306 IPC_STRUCT_TRAITS_MEMBER(params)
325 IPC_STRUCT_TRAITS_MEMBER(time) 307 IPC_STRUCT_TRAITS_MEMBER(time)
326 IPC_STRUCT_TRAITS_END() 308 IPC_STRUCT_TRAITS_END()
327 309
328 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) 310 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params)
329 // Routing ID of the view initiating the open. 311 // Routing ID of the view initiating the open.
330 IPC_STRUCT_MEMBER(int, opener_id) 312 IPC_STRUCT_MEMBER(int, opener_id)
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 bool /* cookies_enabled */) 1454 bool /* cookies_enabled */)
1473 1455
1474 // Used to get the list of plugins 1456 // Used to get the list of plugins
1475 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins, 1457 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins,
1476 bool /* refresh*/, 1458 bool /* refresh*/,
1477 std::vector<webkit::WebPluginInfo> /* plugins */) 1459 std::vector<webkit::WebPluginInfo> /* plugins */)
1478 1460
1479 // Return information about a plugin for the given URL and MIME 1461 // Return information about a plugin for the given URL and MIME
1480 // type. If there is no matching plugin, |found| is false. 1462 // type. If there is no matching plugin, |found| is false.
1481 // |actual_mime_type| is the actual mime type supported by the 1463 // |actual_mime_type| is the actual mime type supported by the
1482 // plugin found that match the URL given (one for each item in 1464 // found plugin.
1483 // |info|).
1484 IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo, 1465 IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo,
1485 int /* routing_id */, 1466 int /* routing_id */,
1486 GURL /* url */, 1467 GURL /* url */,
1487 GURL /* page_url */, 1468 GURL /* page_url */,
1488 std::string /* mime_type */, 1469 std::string /* mime_type */,
1489 bool /* found */, 1470 bool /* found */,
1490 webkit::WebPluginInfo /* plugin info */, 1471 webkit::WebPluginInfo /* plugin info */,
1491 std::string /* actual_mime_type */) 1472 std::string /* actual_mime_type */)
1492 1473
1493 // A renderer sends this to the browser process when it wants to 1474 // A renderer sends this to the browser process when it wants to
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
1953 1934
1954 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 1935 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
1955 // being sent back. 1936 // being sent back.
1956 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) 1937 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse)
1957 1938
1958 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 1939 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
1959 // whenever the mouse is unlocked (which may or may not be caused by 1940 // whenever the mouse is unlocked (which may or may not be caused by
1960 // ViewHostMsg_UnlockMouse). 1941 // ViewHostMsg_UnlockMouse).
1961 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 1942 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
1962 1943
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698