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

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

Issue 10451047: content: Move javascript_message_type.h into content/ from ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "content/common/css_colors.h" 11 #include "content/common/css_colors.h"
12 #include "content/common/edit_command.h" 12 #include "content/common/edit_command.h"
13 #include "content/common/navigation_gesture.h" 13 #include "content/common/navigation_gesture.h"
14 #include "content/common/view_message_enums.h" 14 #include "content/common/view_message_enums.h"
15 #include "content/public/browser/javascript_message_type.h"
15 #include "content/public/common/common_param_traits.h" 16 #include "content/public/common/common_param_traits.h"
16 #include "content/public/common/context_menu_params.h" 17 #include "content/public/common/context_menu_params.h"
17 #include "content/public/common/file_chooser_params.h" 18 #include "content/public/common/file_chooser_params.h"
18 #include "content/public/common/frame_navigate_params.h" 19 #include "content/public/common/frame_navigate_params.h"
19 #include "content/public/common/page_zoom.h" 20 #include "content/public/common/page_zoom.h"
20 #include "content/public/common/referrer.h" 21 #include "content/public/common/referrer.h"
21 #include "content/public/common/renderer_preferences.h" 22 #include "content/public/common/renderer_preferences.h"
22 #include "content/public/common/selected_file_info.h" 23 #include "content/public/common/selected_file_info.h"
23 #include "content/public/common/stop_find_action.h" 24 #include "content/public/common/stop_find_action.h"
24 #include "content/public/common/webkit_param_traits.h" 25 #include "content/public/common/webkit_param_traits.h"
25 #include "content/public/common/window_container_type.h" 26 #include "content/public/common/window_container_type.h"
26 #include "ipc/ipc_channel_handle.h" 27 #include "ipc/ipc_channel_handle.h"
27 #include "ipc/ipc_message_macros.h" 28 #include "ipc/ipc_message_macros.h"
28 #include "ipc/ipc_platform_file.h" 29 #include "ipc/ipc_platform_file.h"
29 #include "media/base/channel_layout.h" 30 #include "media/base/channel_layout.h"
30 #include "media/base/media_log_event.h" 31 #include "media/base/media_log_event.h"
31 #include "third_party/skia/include/core/SkBitmap.h" 32 #include "third_party/skia/include/core/SkBitmap.h"
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h" 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h"
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h"
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h" 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h"
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h"
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h"
39 #include "ui/base/ime/text_input_type.h" 40 #include "ui/base/ime/text_input_type.h"
40 #include "ui/base/javascript_message_type.h"
41 #include "ui/base/range/range.h" 41 #include "ui/base/range/range.h"
42 #include "ui/gfx/point.h" 42 #include "ui/gfx/point.h"
43 #include "ui/gfx/rect.h" 43 #include "ui/gfx/rect.h"
44 #include "webkit/glue/webcookie.h" 44 #include "webkit/glue/webcookie.h"
45 #include "webkit/glue/webmenuitem.h" 45 #include "webkit/glue/webmenuitem.h"
46 #include "webkit/glue/webpreferences.h" 46 #include "webkit/glue/webpreferences.h"
47 #include "webkit/plugins/npapi/webplugin.h" 47 #include "webkit/plugins/npapi/webplugin.h"
48 48
49 #if defined(OS_MACOSX) 49 #if defined(OS_MACOSX)
50 #include "content/common/mac/font_descriptor.h" 50 #include "content/common/mac/font_descriptor.h"
(...skipping 15 matching lines...) Expand all
66 IPC_ENUM_TRAITS(WebKit::WebTextDirection) 66 IPC_ENUM_TRAITS(WebKit::WebTextDirection)
67 IPC_ENUM_TRAITS(WebMenuItem::Type) 67 IPC_ENUM_TRAITS(WebMenuItem::Type)
68 IPC_ENUM_TRAITS(WindowContainerType) 68 IPC_ENUM_TRAITS(WindowContainerType)
69 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) 69 IPC_ENUM_TRAITS(content::FileChooserParams::Mode)
70 IPC_ENUM_TRAITS(content::PageZoom) 70 IPC_ENUM_TRAITS(content::PageZoom)
71 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum) 71 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum)
72 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum) 72 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum)
73 IPC_ENUM_TRAITS(content::StopFindAction) 73 IPC_ENUM_TRAITS(content::StopFindAction)
74 IPC_ENUM_TRAITS(media::MediaLogEvent::Type) 74 IPC_ENUM_TRAITS(media::MediaLogEvent::Type)
75 IPC_ENUM_TRAITS(ui::TextInputType) 75 IPC_ENUM_TRAITS(ui::TextInputType)
76 IPC_ENUM_TRAITS(ui::JavascriptMessageType) 76 IPC_ENUM_TRAITS(content::JavaScriptMessageType)
jochen (gone - plz use gerrit) 2012/05/26 11:19:55 nit. alphabetical order
tfarina 2012/05/26 12:33:32 Done.
77 77
78 IPC_STRUCT_TRAITS_BEGIN(EditCommand) 78 IPC_STRUCT_TRAITS_BEGIN(EditCommand)
79 IPC_STRUCT_TRAITS_MEMBER(name) 79 IPC_STRUCT_TRAITS_MEMBER(name)
80 IPC_STRUCT_TRAITS_MEMBER(value) 80 IPC_STRUCT_TRAITS_MEMBER(value)
81 IPC_STRUCT_TRAITS_END() 81 IPC_STRUCT_TRAITS_END()
82 82
83 #if defined(OS_MACOSX) 83 #if defined(OS_MACOSX)
84 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor) 84 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor)
85 IPC_STRUCT_TRAITS_MEMBER(font_name) 85 IPC_STRUCT_TRAITS_MEMBER(font_name)
86 IPC_STRUCT_TRAITS_MEMBER(font_point_size) 86 IPC_STRUCT_TRAITS_MEMBER(font_point_size)
(...skipping 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after
1657 1657
1658 // Sent to the browser from an inactive renderer to post a message to the 1658 // Sent to the browser from an inactive renderer to post a message to the
1659 // active renderer. 1659 // active renderer.
1660 IPC_MESSAGE_ROUTED1(ViewHostMsg_RouteMessageEvent, 1660 IPC_MESSAGE_ROUTED1(ViewHostMsg_RouteMessageEvent,
1661 ViewMsg_PostMessage_Params) 1661 ViewMsg_PostMessage_Params)
1662 1662
1663 IPC_SYNC_MESSAGE_ROUTED4_2(ViewHostMsg_RunJavaScriptMessage, 1663 IPC_SYNC_MESSAGE_ROUTED4_2(ViewHostMsg_RunJavaScriptMessage,
1664 string16 /* in - alert message */, 1664 string16 /* in - alert message */,
1665 string16 /* in - default prompt */, 1665 string16 /* in - default prompt */,
1666 GURL /* in - originating page URL */, 1666 GURL /* in - originating page URL */,
1667 ui::JavascriptMessageType /* in - type */, 1667 content::JavaScriptMessageType /* in - type */,
1668 bool /* out - success */, 1668 bool /* out - success */,
1669 string16 /* out - user_input field */) 1669 string16 /* out - user_input field */)
1670 1670
1671 // Requests that the given URL be opened in the specified manner. 1671 // Requests that the given URL be opened in the specified manner.
1672 IPC_MESSAGE_ROUTED4(ViewHostMsg_OpenURL, 1672 IPC_MESSAGE_ROUTED4(ViewHostMsg_OpenURL,
1673 GURL /* url */, 1673 GURL /* url */,
1674 content::Referrer /* referrer */, 1674 content::Referrer /* referrer */,
1675 WindowOpenDisposition /* disposition */, 1675 WindowOpenDisposition /* disposition */,
1676 int64 /* frame id */) 1676 int64 /* frame id */)
1677 1677
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
2073 // (according to the value of is_hung). The browser can give the user the 2073 // (according to the value of is_hung). The browser can give the user the
2074 // option of killing the plugin. 2074 // option of killing the plugin.
2075 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2075 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2076 int /* plugin_child_id */, 2076 int /* plugin_child_id */,
2077 FilePath /* path */, 2077 FilePath /* path */,
2078 bool /* is_hung */) 2078 bool /* is_hung */)
2079 2079
2080 // Screen was rotated. Dispatched to the onorientationchange javascript API. 2080 // Screen was rotated. Dispatched to the onorientationchange javascript API.
2081 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, 2081 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent,
2082 int /* orientation */) 2082 int /* orientation */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698