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

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: nit 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
« no previous file with comments | « content/browser/plugin_service.cc ('k') | content/common/webkit_param_traits.h » ('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) 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 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after
1471 bool /* cookies_enabled */) 1453 bool /* cookies_enabled */)
1472 1454
1473 // Used to get the list of plugins 1455 // Used to get the list of plugins
1474 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins, 1456 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins,
1475 bool /* refresh*/, 1457 bool /* refresh*/,
1476 std::vector<webkit::WebPluginInfo> /* plugins */) 1458 std::vector<webkit::WebPluginInfo> /* plugins */)
1477 1459
1478 // Return information about a plugin for the given URL and MIME 1460 // Return information about a plugin for the given URL and MIME
1479 // type. If there is no matching plugin, |found| is false. 1461 // type. If there is no matching plugin, |found| is false.
1480 // |actual_mime_type| is the actual mime type supported by the 1462 // |actual_mime_type| is the actual mime type supported by the
1481 // plugin found that match the URL given (one for each item in 1463 // found plugin.
1482 // |info|).
1483 IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo, 1464 IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo,
1484 int /* routing_id */, 1465 int /* routing_id */,
1485 GURL /* url */, 1466 GURL /* url */,
1486 GURL /* page_url */, 1467 GURL /* page_url */,
1487 std::string /* mime_type */, 1468 std::string /* mime_type */,
1488 bool /* found */, 1469 bool /* found */,
1489 webkit::WebPluginInfo /* plugin info */, 1470 webkit::WebPluginInfo /* plugin info */,
1490 std::string /* actual_mime_type */) 1471 std::string /* actual_mime_type */)
1491 1472
1492 // A renderer sends this to the browser process when it wants to 1473 // A renderer sends this to the browser process when it wants to
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
1952 1933
1953 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 1934 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
1954 // being sent back. 1935 // being sent back.
1955 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) 1936 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse)
1956 1937
1957 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 1938 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
1958 // whenever the mouse is unlocked (which may or may not be caused by 1939 // whenever the mouse is unlocked (which may or may not be caused by
1959 // ViewHostMsg_UnlockMouse). 1940 // ViewHostMsg_UnlockMouse).
1960 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 1941 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
1961 1942
OLDNEW
« no previous file with comments | « content/browser/plugin_service.cc ('k') | content/common/webkit_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698