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

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

Issue 12191005: Move Android Date/Time parsing to the renderer (C++ and ICU) instead of the current parsing that ha… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased view_messages.h and fixed the link issue on the linux bot Created 7 years, 10 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
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 "base/string16.h" 10 #include "base/string16.h"
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 353
354 // Whether or not inline composition can be performed for the current input. 354 // Whether or not inline composition can be performed for the current input.
355 IPC_STRUCT_MEMBER(bool, can_compose_inline) 355 IPC_STRUCT_MEMBER(bool, can_compose_inline)
356 356
357 // Whether or not the IME should be shown as a result of this update. Even if 357 // Whether or not the IME should be shown as a result of this update. Even if
358 // true, the IME will only be shown if the type is appropriate (e.g. not 358 // true, the IME will only be shown if the type is appropriate (e.g. not
359 // TEXT_INPUT_TYPE_NONE). 359 // TEXT_INPUT_TYPE_NONE).
360 IPC_STRUCT_MEMBER(bool, show_ime_if_needed) 360 IPC_STRUCT_MEMBER(bool, show_ime_if_needed)
361 IPC_STRUCT_END() 361 IPC_STRUCT_END()
362 362
363 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params)
364 IPC_STRUCT_MEMBER(int, dialog_type)
365 IPC_STRUCT_MEMBER(int, year)
366 IPC_STRUCT_MEMBER(int, month)
367 IPC_STRUCT_MEMBER(int, day)
368 IPC_STRUCT_MEMBER(int, hour)
369 IPC_STRUCT_MEMBER(int, minute)
370 IPC_STRUCT_MEMBER(int, second)
371 IPC_STRUCT_END()
372
363 IPC_STRUCT_BEGIN(ViewHostMsg_SelectionBounds_Params) 373 IPC_STRUCT_BEGIN(ViewHostMsg_SelectionBounds_Params)
364 IPC_STRUCT_MEMBER(gfx::Rect, anchor_rect) 374 IPC_STRUCT_MEMBER(gfx::Rect, anchor_rect)
365 IPC_STRUCT_MEMBER(WebKit::WebTextDirection, anchor_dir) 375 IPC_STRUCT_MEMBER(WebKit::WebTextDirection, anchor_dir)
366 IPC_STRUCT_MEMBER(gfx::Rect, focus_rect) 376 IPC_STRUCT_MEMBER(gfx::Rect, focus_rect)
367 IPC_STRUCT_MEMBER(WebKit::WebTextDirection, focus_dir) 377 IPC_STRUCT_MEMBER(WebKit::WebTextDirection, focus_dir)
368 IPC_STRUCT_MEMBER(bool, is_anchor_first) 378 IPC_STRUCT_MEMBER(bool, is_anchor_first)
369 IPC_STRUCT_END() 379 IPC_STRUCT_END()
370 380
371 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) 381 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params)
372 // URL for the worker script. 382 // URL for the worker script.
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) 927 IPC_MESSAGE_ROUTED0(ViewMsg_Paste)
918 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle) 928 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle)
919 // Replaces the selected region or a word around the cursor with the 929 // Replaces the selected region or a word around the cursor with the
920 // specified string. 930 // specified string.
921 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, 931 IPC_MESSAGE_ROUTED1(ViewMsg_Replace,
922 string16) 932 string16)
923 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) 933 IPC_MESSAGE_ROUTED0(ViewMsg_Delete)
924 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) 934 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll)
925 935
926 // Replaces a date time input field. 936 // Replaces a date time input field.
927 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, string16 /* text */) 937 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime,
938 ViewHostMsg_DateTimeDialogValue_Params /* value */)
928 939
929 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) 940 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect)
930 941
931 // Requests the renderer to select the region between two points. 942 // Requests the renderer to select the region between two points.
932 // Expects a SelectRange_ACK message when finished. 943 // Expects a SelectRange_ACK message when finished.
933 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, 944 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange,
934 gfx::Point /* start */, 945 gfx::Point /* start */,
935 gfx::Point /* end */) 946 gfx::Point /* end */)
936 947
937 // Requests the renderer to move the caret selection toward the point. 948 // Requests the renderer to move the caret selection toward the point.
(...skipping 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after
1992 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, 2003 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory,
1993 int /* request_id */, 2004 int /* request_id */,
1994 FilePath /* file_path */) 2005 FilePath /* file_path */)
1995 2006
1996 // Tells the browser to move the focus to the next (previous if reverse is 2007 // Tells the browser to move the focus to the next (previous if reverse is
1997 // true) focusable element. 2008 // true) focusable element.
1998 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, 2009 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus,
1999 bool /* reverse */) 2010 bool /* reverse */)
2000 2011
2001 // Required for opening a date/time dialog 2012 // Required for opening a date/time dialog
2002 IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenDateTimeDialog, 2013 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenDateTimeDialog,
2003 int /* type */, 2014 ViewHostMsg_DateTimeDialogValue_Params /* value */)
2004 std::string /* value */)
2005 2015
2006 // Required for updating text input state. 2016 // Required for updating text input state.
2007 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, 2017 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged,
2008 ViewHostMsg_TextInputState_Params /* input state params */) 2018 ViewHostMsg_TextInputState_Params /* input state params */)
2009 2019
2010 // Message sent when the IME text composition range changes. 2020 // Message sent when the IME text composition range changes.
2011 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2021 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2012 ui::Range /* composition range */, 2022 ui::Range /* composition range */,
2013 std::vector<gfx::Rect> /* character bounds */) 2023 std::vector<gfx::Rect> /* character bounds */)
2014 2024
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
2387 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2397 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2388 // for details. 2398 // for details.
2389 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2399 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2390 LOGFONT /* font_data */, 2400 LOGFONT /* font_data */,
2391 string16 /* characters */) 2401 string16 /* characters */)
2392 #endif 2402 #endif
2393 2403
2394 // Notifies the browser that the frame with the given id was detached. 2404 // Notifies the browser that the frame with the given id was detached.
2395 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, 2405 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached,
2396 int64 /* frame_id */) 2406 int64 /* frame_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698