| OLD | NEW |
| 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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 | 408 |
| 409 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) | 409 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) |
| 410 IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type) | 410 IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type) |
| 411 IPC_STRUCT_MEMBER(double, dialog_value) | 411 IPC_STRUCT_MEMBER(double, dialog_value) |
| 412 IPC_STRUCT_MEMBER(double, minimum) | 412 IPC_STRUCT_MEMBER(double, minimum) |
| 413 IPC_STRUCT_MEMBER(double, maximum) | 413 IPC_STRUCT_MEMBER(double, maximum) |
| 414 IPC_STRUCT_MEMBER(double, step) | 414 IPC_STRUCT_MEMBER(double, step) |
| 415 IPC_STRUCT_MEMBER(std::vector<content::DateTimeSuggestion>, suggestions) | 415 IPC_STRUCT_MEMBER(std::vector<content::DateTimeSuggestion>, suggestions) |
| 416 IPC_STRUCT_END() | 416 IPC_STRUCT_END() |
| 417 | 417 |
| 418 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) | |
| 419 // The frame ID for the failure report. | |
| 420 IPC_STRUCT_MEMBER(int64, frame_id) | |
| 421 // The WebFrame's uniqueName(). | |
| 422 IPC_STRUCT_MEMBER(base::string16, frame_unique_name) | |
| 423 // True if this is the top-most frame. | |
| 424 IPC_STRUCT_MEMBER(bool, is_main_frame) | |
| 425 // Error code as reported in the DidFailProvisionalLoad callback. | |
| 426 IPC_STRUCT_MEMBER(int, error_code) | |
| 427 // An error message generated from the error_code. This can be an empty | |
| 428 // string if we were unable to find a meaningful description. | |
| 429 IPC_STRUCT_MEMBER(base::string16, error_description) | |
| 430 // The URL that the error is reported for. | |
| 431 IPC_STRUCT_MEMBER(GURL, url) | |
| 432 // True if the failure is the result of navigating to a POST again | |
| 433 // and we're going to show the POST interstitial. | |
| 434 IPC_STRUCT_MEMBER(bool, showing_repost_interstitial) | |
| 435 IPC_STRUCT_END() | |
| 436 | |
| 437 // Parameters structure for ViewHostMsg_FrameNavigate, which has too many data | 418 // Parameters structure for ViewHostMsg_FrameNavigate, which has too many data |
| 438 // parameters to be reasonably put in a predefined IPC message. | 419 // parameters to be reasonably put in a predefined IPC message. |
| 439 IPC_STRUCT_BEGIN_WITH_PARENT(ViewHostMsg_FrameNavigate_Params, | 420 IPC_STRUCT_BEGIN_WITH_PARENT(ViewHostMsg_FrameNavigate_Params, |
| 440 content::FrameNavigateParams) | 421 content::FrameNavigateParams) |
| 441 IPC_STRUCT_TRAITS_PARENT(content::FrameNavigateParams) | 422 IPC_STRUCT_TRAITS_PARENT(content::FrameNavigateParams) |
| 442 // The frame ID for this navigation. The frame ID uniquely identifies the | 423 // The frame ID for this navigation. The frame ID uniquely identifies the |
| 443 // frame the navigation happened in for a given renderer. | 424 // frame the navigation happened in for a given renderer. |
| 444 IPC_STRUCT_MEMBER(int64, frame_id) | 425 IPC_STRUCT_MEMBER(int64, frame_id) |
| 445 | 426 |
| 446 // The WebFrame's uniqueName(). | 427 // The WebFrame's uniqueName(). |
| (...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1647 std::string /* security_origin */, | 1628 std::string /* security_origin */, |
| 1648 GURL /* target URL */) | 1629 GURL /* target URL */) |
| 1649 | 1630 |
| 1650 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailLoadWithError, | 1631 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailLoadWithError, |
| 1651 int64 /* frame_id */, | 1632 int64 /* frame_id */, |
| 1652 GURL /* validated_url */, | 1633 GURL /* validated_url */, |
| 1653 bool /* is_main_frame */, | 1634 bool /* is_main_frame */, |
| 1654 int /* error_code */, | 1635 int /* error_code */, |
| 1655 base::string16 /* error_description */) | 1636 base::string16 /* error_description */) |
| 1656 | 1637 |
| 1657 // Sent when the renderer fails a provisional load with an error. | |
| 1658 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFailProvisionalLoadWithError, | |
| 1659 ViewHostMsg_DidFailProvisionalLoadWithError_Params) | |
| 1660 | |
| 1661 // Tells the render view that a ViewHostMsg_PaintAtSize message was | 1638 // Tells the render view that a ViewHostMsg_PaintAtSize message was |
| 1662 // processed, and the DIB is ready for use. |tag| has the same value that | 1639 // processed, and the DIB is ready for use. |tag| has the same value that |
| 1663 // the tag sent along with ViewMsg_PaintAtSize. | 1640 // the tag sent along with ViewMsg_PaintAtSize. |
| 1664 IPC_MESSAGE_ROUTED2(ViewHostMsg_PaintAtSize_ACK, | 1641 IPC_MESSAGE_ROUTED2(ViewHostMsg_PaintAtSize_ACK, |
| 1665 int /* tag */, | 1642 int /* tag */, |
| 1666 gfx::Size /* size */) | 1643 gfx::Size /* size */) |
| 1667 | 1644 |
| 1668 // Sent to update part of the view. In response to this message, the host | 1645 // Sent to update part of the view. In response to this message, the host |
| 1669 // generates a ViewMsg_UpdateRect_ACK message. | 1646 // generates a ViewMsg_UpdateRect_ACK message. |
| 1670 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 1647 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
| (...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2362 // synchronously (see crbug.com/120597). This IPC message sends the character | 2339 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2363 // bounds after every composition change to always have correct bound info. | 2340 // bounds after every composition change to always have correct bound info. |
| 2364 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2341 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2365 gfx::Range /* composition range */, | 2342 gfx::Range /* composition range */, |
| 2366 std::vector<gfx::Rect> /* character bounds */) | 2343 std::vector<gfx::Rect> /* character bounds */) |
| 2367 #endif | 2344 #endif |
| 2368 | 2345 |
| 2369 // Adding a new message? Stick to the sort order above: first platform | 2346 // Adding a new message? Stick to the sort order above: first platform |
| 2370 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2347 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2371 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2348 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |