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

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, 1 month 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/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 1807 matching lines...) Expand 10 before | Expand all | Expand 10 after
1979 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, 1985 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged,
1980 string16 /* text covers the selection range */, 1986 string16 /* text covers the selection range */,
1981 size_t /* the offset of the text in the document */, 1987 size_t /* the offset of the text in the document */,
1982 gfx::Range /* selection range in the document */) 1988 gfx::Range /* selection range in the document */)
1983 1989
1984 // Notification that the selection bounds have changed. 1990 // Notification that the selection bounds have changed.
1985 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, 1991 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged,
1986 ViewHostMsg_SelectionBounds_Params) 1992 ViewHostMsg_SelectionBounds_Params)
1987 1993
1988 // Asks the browser to open the color chooser. 1994 // Asks the browser to open the color chooser.
1989 IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenColorChooser, 1995 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenColorChooser,
1990 int /* id */, 1996 int /* id */,
1991 SkColor /* color */) 1997 SkColor /* color */,
1998 std::vector<content::ColorSuggestion> /* suggestions */)
1992 1999
1993 // Asks the browser to end the color chooser. 2000 // Asks the browser to end the color chooser.
1994 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */) 2001 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */)
1995 2002
1996 // Change the selected color in the color chooser. 2003 // Change the selected color in the color chooser.
1997 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSelectedColorInColorChooser, 2004 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSelectedColorInColorChooser,
1998 int /* id */, 2005 int /* id */,
1999 SkColor /* color */) 2006 SkColor /* color */)
2000 2007
2001 // Asks the browser to display the file chooser. The result is returned in a 2008 // 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
2370 // synchronously (see crbug.com/120597). This IPC message sends the character 2377 // synchronously (see crbug.com/120597). This IPC message sends the character
2371 // bounds after every composition change to always have correct bound info. 2378 // bounds after every composition change to always have correct bound info.
2372 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2379 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2373 gfx::Range /* composition range */, 2380 gfx::Range /* composition range */,
2374 std::vector<gfx::Rect> /* character bounds */) 2381 std::vector<gfx::Rect> /* character bounds */)
2375 #endif 2382 #endif
2376 2383
2377 // Adding a new message? Stick to the sort order above: first platform 2384 // Adding a new message? Stick to the sort order above: first platform
2378 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2385 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2379 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2386 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698