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

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

Issue 85643002: Transfer date/time value to chooser as double (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@doubledate2
Patch Set: used ui::TextInputType 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
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"
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, 386 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed,
387 // a new unique ID is created and assigned to the worker. 387 // a new unique ID is created and assigned to the worker.
388 IPC_STRUCT_MEMBER(int, route_id) 388 IPC_STRUCT_MEMBER(int, route_id)
389 389
390 // The ID of the appcache the main shared worker script resource was loaded 390 // The ID of the appcache the main shared worker script resource was loaded
391 // from, only valid for shared workers. 391 // from, only valid for shared workers.
392 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) 392 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id)
393 IPC_STRUCT_END() 393 IPC_STRUCT_END()
394 394
395 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) 395 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params)
396 IPC_STRUCT_MEMBER(int, dialog_type) 396 IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type)
397 IPC_STRUCT_MEMBER(int, year) 397 IPC_STRUCT_MEMBER(double, dialog_value)
398 IPC_STRUCT_MEMBER(int, month)
399 IPC_STRUCT_MEMBER(int, day)
400 IPC_STRUCT_MEMBER(int, hour)
401 IPC_STRUCT_MEMBER(int, minute)
402 IPC_STRUCT_MEMBER(int, second)
403 IPC_STRUCT_MEMBER(int, milli)
404 IPC_STRUCT_MEMBER(int, week)
405 IPC_STRUCT_MEMBER(double, minimum) 398 IPC_STRUCT_MEMBER(double, minimum)
406 IPC_STRUCT_MEMBER(double, maximum) 399 IPC_STRUCT_MEMBER(double, maximum)
407 IPC_STRUCT_MEMBER(double, step) 400 IPC_STRUCT_MEMBER(double, step)
408 IPC_STRUCT_END() 401 IPC_STRUCT_END()
409 402
410 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) 403 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params)
411 // The frame ID for the failure report. 404 // The frame ID for the failure report.
412 IPC_STRUCT_MEMBER(int64, frame_id) 405 IPC_STRUCT_MEMBER(int64, frame_id)
413 // The WebFrame's uniqueName(). 406 // The WebFrame's uniqueName().
414 IPC_STRUCT_MEMBER(string16, frame_unique_name) 407 IPC_STRUCT_MEMBER(string16, frame_unique_name)
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, 956 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding,
964 content::StopFindAction /* action */) 957 content::StopFindAction /* action */)
965 958
966 // Informs the renderer about various statistics the browser has (e.g. 959 // Informs the renderer about various statistics the browser has (e.g.
967 // latency) regarding the frames that have been displayed. 960 // latency) regarding the frames that have been displayed.
968 IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, 961 IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats,
969 content::BrowserRenderingStats /* stats */) 962 content::BrowserRenderingStats /* stats */)
970 963
971 // Replaces a date time input field. 964 // Replaces a date time input field.
972 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, 965 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime,
973 ViewHostMsg_DateTimeDialogValue_Params /* value */) 966 double /* dialog_value */)
974 967
975 // Copies the image at location x, y to the clipboard (if there indeed is an 968 // Copies the image at location x, y to the clipboard (if there indeed is an
976 // image at that location). 969 // image at that location).
977 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, 970 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt,
978 int /* x */, 971 int /* x */,
979 int /* y */) 972 int /* y */)
980 973
981 // Tells the renderer to perform the given action on the media player 974 // Tells the renderer to perform the given action on the media player
982 // located at the given point. 975 // located at the given point.
983 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, 976 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt,
(...skipping 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after
2354 // synchronously (see crbug.com/120597). This IPC message sends the character 2347 // synchronously (see crbug.com/120597). This IPC message sends the character
2355 // bounds after every composition change to always have correct bound info. 2348 // bounds after every composition change to always have correct bound info.
2356 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2349 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2357 gfx::Range /* composition range */, 2350 gfx::Range /* composition range */,
2358 std::vector<gfx::Rect> /* character bounds */) 2351 std::vector<gfx::Rect> /* character bounds */)
2359 #endif 2352 #endif
2360 2353
2361 // Adding a new message? Stick to the sort order above: first platform 2354 // Adding a new message? Stick to the sort order above: first platform
2362 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2355 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2363 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2356 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698