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

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

Issue 19761007: Move NPAPI implementation out of webkit/plugins/npapi and into content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 7 years, 5 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) 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.h" 9 #include "base/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "cc/output/begin_frame_args.h" 11 #include "cc/output/begin_frame_args.h"
12 #include "cc/output/compositor_frame.h" 12 #include "cc/output/compositor_frame.h"
13 #include "cc/output/compositor_frame_ack.h" 13 #include "cc/output/compositor_frame_ack.h"
14 #include "content/common/browser_rendering_stats.h" 14 #include "content/common/browser_rendering_stats.h"
15 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
16 #include "content/common/content_param_traits.h" 16 #include "content/common/content_param_traits.h"
17 #include "content/common/cookie_data.h" 17 #include "content/common/cookie_data.h"
18 #include "content/common/navigation_gesture.h" 18 #include "content/common/navigation_gesture.h"
19 #include "content/common/pepper_renderer_instance_data.h" 19 #include "content/common/pepper_renderer_instance_data.h"
20 #include "content/common/view_message_enums.h" 20 #include "content/common/view_message_enums.h"
21 #include "content/common/webplugin_geometry.h"
21 #include "content/port/common/input_event_ack_state.h" 22 #include "content/port/common/input_event_ack_state.h"
22 #include "content/public/common/common_param_traits.h" 23 #include "content/public/common/common_param_traits.h"
23 #include "content/public/common/context_menu_params.h" 24 #include "content/public/common/context_menu_params.h"
24 #include "content/public/common/favicon_url.h" 25 #include "content/public/common/favicon_url.h"
25 #include "content/public/common/file_chooser_params.h" 26 #include "content/public/common/file_chooser_params.h"
26 #include "content/public/common/frame_navigate_params.h" 27 #include "content/public/common/frame_navigate_params.h"
27 #include "content/public/common/javascript_message_type.h" 28 #include "content/public/common/javascript_message_type.h"
28 #include "content/public/common/menu_item.h" 29 #include "content/public/common/menu_item.h"
29 #include "content/public/common/page_state.h" 30 #include "content/public/common/page_state.h"
30 #include "content/public/common/page_zoom.h" 31 #include "content/public/common/page_zoom.h"
(...skipping 21 matching lines...) Expand all
52 #include "ui/base/ime/text_input_mode.h" 53 #include "ui/base/ime/text_input_mode.h"
53 #include "ui/base/ime/text_input_type.h" 54 #include "ui/base/ime/text_input_type.h"
54 #include "ui/base/range/range.h" 55 #include "ui/base/range/range.h"
55 #include "ui/base/ui_base_types.h" 56 #include "ui/base/ui_base_types.h"
56 #include "ui/gfx/point.h" 57 #include "ui/gfx/point.h"
57 #include "ui/gfx/rect.h" 58 #include "ui/gfx/rect.h"
58 #include "ui/gfx/rect_f.h" 59 #include "ui/gfx/rect_f.h"
59 #include "ui/gfx/vector2d.h" 60 #include "ui/gfx/vector2d.h"
60 #include "ui/gfx/vector2d_f.h" 61 #include "ui/gfx/vector2d_f.h"
61 #include "ui/shell_dialogs/selected_file_info.h" 62 #include "ui/shell_dialogs/selected_file_info.h"
62 #include "webkit/plugins/npapi/webplugin.h"
63 63
64 #if defined(OS_MACOSX) 64 #if defined(OS_MACOSX)
65 #include "content/common/mac/font_descriptor.h" 65 #include "content/common/mac/font_descriptor.h"
66 #endif 66 #endif
67 67
68 #undef IPC_MESSAGE_EXPORT 68 #undef IPC_MESSAGE_EXPORT
69 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 69 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
70 70
71 #define IPC_MESSAGE_START ViewMsgStart 71 #define IPC_MESSAGE_START ViewMsgStart
72 72
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 IPC_STRUCT_TRAITS_MEMBER(name) 273 IPC_STRUCT_TRAITS_MEMBER(name)
274 IPC_STRUCT_TRAITS_MEMBER(value) 274 IPC_STRUCT_TRAITS_MEMBER(value)
275 IPC_STRUCT_TRAITS_MEMBER(domain) 275 IPC_STRUCT_TRAITS_MEMBER(domain)
276 IPC_STRUCT_TRAITS_MEMBER(path) 276 IPC_STRUCT_TRAITS_MEMBER(path)
277 IPC_STRUCT_TRAITS_MEMBER(expires) 277 IPC_STRUCT_TRAITS_MEMBER(expires)
278 IPC_STRUCT_TRAITS_MEMBER(http_only) 278 IPC_STRUCT_TRAITS_MEMBER(http_only)
279 IPC_STRUCT_TRAITS_MEMBER(secure) 279 IPC_STRUCT_TRAITS_MEMBER(secure)
280 IPC_STRUCT_TRAITS_MEMBER(session) 280 IPC_STRUCT_TRAITS_MEMBER(session)
281 IPC_STRUCT_TRAITS_END() 281 IPC_STRUCT_TRAITS_END()
282 282
283 IPC_STRUCT_TRAITS_BEGIN(webkit::npapi::WebPluginGeometry) 283 IPC_STRUCT_TRAITS_BEGIN(content::WebPluginGeometry)
284 IPC_STRUCT_TRAITS_MEMBER(window) 284 IPC_STRUCT_TRAITS_MEMBER(window)
285 IPC_STRUCT_TRAITS_MEMBER(window_rect) 285 IPC_STRUCT_TRAITS_MEMBER(window_rect)
286 IPC_STRUCT_TRAITS_MEMBER(clip_rect) 286 IPC_STRUCT_TRAITS_MEMBER(clip_rect)
287 IPC_STRUCT_TRAITS_MEMBER(cutout_rects) 287 IPC_STRUCT_TRAITS_MEMBER(cutout_rects)
288 IPC_STRUCT_TRAITS_MEMBER(rects_valid) 288 IPC_STRUCT_TRAITS_MEMBER(rects_valid)
289 IPC_STRUCT_TRAITS_MEMBER(visible) 289 IPC_STRUCT_TRAITS_MEMBER(visible)
290 IPC_STRUCT_TRAITS_END() 290 IPC_STRUCT_TRAITS_END()
291 291
292 IPC_STRUCT_TRAITS_BEGIN(media::MediaLogEvent) 292 IPC_STRUCT_TRAITS_BEGIN(media::MediaLogEvent)
293 IPC_STRUCT_TRAITS_MEMBER(id) 293 IPC_STRUCT_TRAITS_MEMBER(id)
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects) 548 IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects)
549 549
550 // The size of the RenderView when this message was generated. This is 550 // The size of the RenderView when this message was generated. This is
551 // included so the host knows how large the view is from the perspective of 551 // included so the host knows how large the view is from the perspective of
552 // the renderer process. This is necessary in case a resize operation is in 552 // the renderer process. This is necessary in case a resize operation is in
553 // progress. If auto-resize is enabled, this should update the corresponding 553 // progress. If auto-resize is enabled, this should update the corresponding
554 // view size. 554 // view size.
555 IPC_STRUCT_MEMBER(gfx::Size, view_size) 555 IPC_STRUCT_MEMBER(gfx::Size, view_size)
556 556
557 // New window locations for plugin child windows. 557 // New window locations for plugin child windows.
558 IPC_STRUCT_MEMBER(std::vector<webkit::npapi::WebPluginGeometry>, 558 IPC_STRUCT_MEMBER(std::vector<content::WebPluginGeometry>,
559 plugin_window_moves) 559 plugin_window_moves)
560 560
561 // The following describes the various bits that may be set in flags: 561 // The following describes the various bits that may be set in flags:
562 // 562 //
563 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK 563 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK
564 // Indicates that this is a response to a ViewMsg_Resize message. 564 // Indicates that this is a response to a ViewMsg_Resize message.
565 // 565 //
566 // ViewHostMsg_UpdateRect_Flags::IS_RESTORE_ACK 566 // ViewHostMsg_UpdateRect_Flags::IS_RESTORE_ACK
567 // Indicates that this is a response to a ViewMsg_WasShown message. 567 // Indicates that this is a response to a ViewMsg_WasShown message.
568 // 568 //
(...skipping 1767 matching lines...) Expand 10 before | Expand all | Expand 10 after
2336 // synchronously (see crbug.com/120597). This IPC message sends the character 2336 // synchronously (see crbug.com/120597). This IPC message sends the character
2337 // bounds after every composition change to always have correct bound info. 2337 // bounds after every composition change to always have correct bound info.
2338 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2338 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2339 ui::Range /* composition range */, 2339 ui::Range /* composition range */,
2340 std::vector<gfx::Rect> /* character bounds */) 2340 std::vector<gfx::Rect> /* character bounds */)
2341 #endif 2341 #endif
2342 2342
2343 // Adding a new message? Stick to the sort order above: first platform 2343 // Adding a new message? Stick to the sort order above: first platform
2344 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2344 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2345 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2345 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698