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

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

Issue 23026006: Add support for color input datalist on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/web_contents/web_contents_impl.cc ('k') | content/content_common.gypi » ('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) 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/process.h" 9 #include "base/process/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/common/webplugin_geometry.h"
22 #include "content/port/common/input_event_ack_state.h" 22 #include "content/port/common/input_event_ack_state.h"
23 #include "content/public/common/color_suggestion.h"
23 #include "content/public/common/common_param_traits.h" 24 #include "content/public/common/common_param_traits.h"
24 #include "content/public/common/context_menu_params.h" 25 #include "content/public/common/context_menu_params.h"
25 #include "content/public/common/favicon_url.h" 26 #include "content/public/common/favicon_url.h"
26 #include "content/public/common/file_chooser_params.h" 27 #include "content/public/common/file_chooser_params.h"
27 #include "content/public/common/frame_navigate_params.h" 28 #include "content/public/common/frame_navigate_params.h"
28 #include "content/public/common/javascript_message_type.h" 29 #include "content/public/common/javascript_message_type.h"
29 #include "content/public/common/menu_item.h" 30 #include "content/public/common/menu_item.h"
30 #include "content/public/common/page_state.h" 31 #include "content/public/common/page_state.h"
31 #include "content/public/common/page_zoom.h" 32 #include "content/public/common/page_zoom.h"
32 #include "content/public/common/referrer.h" 33 #include "content/public/common/referrer.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 IPC_STRUCT_TRAITS_MEMBER(tool_tip) 153 IPC_STRUCT_TRAITS_MEMBER(tool_tip)
153 IPC_STRUCT_TRAITS_MEMBER(type) 154 IPC_STRUCT_TRAITS_MEMBER(type)
154 IPC_STRUCT_TRAITS_MEMBER(action) 155 IPC_STRUCT_TRAITS_MEMBER(action)
155 IPC_STRUCT_TRAITS_MEMBER(rtl) 156 IPC_STRUCT_TRAITS_MEMBER(rtl)
156 IPC_STRUCT_TRAITS_MEMBER(has_directional_override) 157 IPC_STRUCT_TRAITS_MEMBER(has_directional_override)
157 IPC_STRUCT_TRAITS_MEMBER(enabled) 158 IPC_STRUCT_TRAITS_MEMBER(enabled)
158 IPC_STRUCT_TRAITS_MEMBER(checked) 159 IPC_STRUCT_TRAITS_MEMBER(checked)
159 IPC_STRUCT_TRAITS_MEMBER(submenu) 160 IPC_STRUCT_TRAITS_MEMBER(submenu)
160 IPC_STRUCT_TRAITS_END() 161 IPC_STRUCT_TRAITS_END()
161 162
163 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion)
164 IPC_STRUCT_TRAITS_MEMBER(color)
165 IPC_STRUCT_TRAITS_MEMBER(label)
166 IPC_STRUCT_TRAITS_END()
167
162 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) 168 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams)
163 IPC_STRUCT_TRAITS_MEMBER(media_type) 169 IPC_STRUCT_TRAITS_MEMBER(media_type)
164 IPC_STRUCT_TRAITS_MEMBER(x) 170 IPC_STRUCT_TRAITS_MEMBER(x)
165 IPC_STRUCT_TRAITS_MEMBER(y) 171 IPC_STRUCT_TRAITS_MEMBER(y)
166 IPC_STRUCT_TRAITS_MEMBER(link_url) 172 IPC_STRUCT_TRAITS_MEMBER(link_url)
167 IPC_STRUCT_TRAITS_MEMBER(link_text) 173 IPC_STRUCT_TRAITS_MEMBER(link_text)
168 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url) 174 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url)
169 IPC_STRUCT_TRAITS_MEMBER(src_url) 175 IPC_STRUCT_TRAITS_MEMBER(src_url)
170 IPC_STRUCT_TRAITS_MEMBER(has_image_contents) 176 IPC_STRUCT_TRAITS_MEMBER(has_image_contents)
171 IPC_STRUCT_TRAITS_MEMBER(page_url) 177 IPC_STRUCT_TRAITS_MEMBER(page_url)
(...skipping 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after
1963 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, 1969 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged,
1964 string16 /* text covers the selection range */, 1970 string16 /* text covers the selection range */,
1965 size_t /* the offset of the text in the document */, 1971 size_t /* the offset of the text in the document */,
1966 gfx::Range /* selection range in the document */) 1972 gfx::Range /* selection range in the document */)
1967 1973
1968 // Notification that the selection bounds have changed. 1974 // Notification that the selection bounds have changed.
1969 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, 1975 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged,
1970 ViewHostMsg_SelectionBounds_Params) 1976 ViewHostMsg_SelectionBounds_Params)
1971 1977
1972 // Asks the browser to open the color chooser. 1978 // Asks the browser to open the color chooser.
1973 IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenColorChooser, 1979 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenColorChooser,
1974 int /* id */, 1980 int /* id */,
1975 SkColor /* color */) 1981 SkColor /* color */,
1982 std::vector<content::ColorSuggestion> /* suggestions */)
1976 1983
1977 // Asks the browser to end the color chooser. 1984 // Asks the browser to end the color chooser.
1978 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */) 1985 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */)
1979 1986
1980 // Change the selected color in the color chooser. 1987 // Change the selected color in the color chooser.
1981 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSelectedColorInColorChooser, 1988 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSelectedColorInColorChooser,
1982 int /* id */, 1989 int /* id */,
1983 SkColor /* color */) 1990 SkColor /* color */)
1984 1991
1985 // Asks the browser to display the file chooser. The result is returned in a 1992 // Asks the browser to display the file chooser. The result is returned in a
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
2354 // synchronously (see crbug.com/120597). This IPC message sends the character 2361 // synchronously (see crbug.com/120597). This IPC message sends the character
2355 // bounds after every composition change to always have correct bound info. 2362 // bounds after every composition change to always have correct bound info.
2356 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2363 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2357 gfx::Range /* composition range */, 2364 gfx::Range /* composition range */,
2358 std::vector<gfx::Rect> /* character bounds */) 2365 std::vector<gfx::Rect> /* character bounds */)
2359 #endif 2366 #endif
2360 2367
2361 // Adding a new message? Stick to the sort order above: first platform 2368 // Adding a new message? Stick to the sort order above: first platform
2362 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2369 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2363 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2370 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698