| 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 1597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1608 ui::TextInputMode /* TextInputMode of the focused node */, | 1608 ui::TextInputMode /* TextInputMode of the focused node */, |
| 1609 bool /* can_compose_inline in the focused node */) | 1609 bool /* can_compose_inline in the focused node */) |
| 1610 | 1610 |
| 1611 // Required for updating text input state. | 1611 // Required for updating text input state. |
| 1612 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, | 1612 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, |
| 1613 ViewHostMsg_TextInputState_Params /* input state params */) | 1613 ViewHostMsg_TextInputState_Params /* input state params */) |
| 1614 | 1614 |
| 1615 // Required for cancelling an ongoing input method composition. | 1615 // Required for cancelling an ongoing input method composition. |
| 1616 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) | 1616 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) |
| 1617 | 1617 |
| 1618 // WebKit and JavaScript error messages to log to the console | |
| 1619 // or debugger UI. | |
| 1620 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, | |
| 1621 int32, /* log level */ | |
| 1622 base::string16, /* msg */ | |
| 1623 int32, /* line number */ | |
| 1624 base::string16 /* source id */ ) | |
| 1625 | |
| 1626 // Displays a box to confirm that the user wants to navigate away from the | 1618 // Displays a box to confirm that the user wants to navigate away from the |
| 1627 // page. Replies true if yes, false otherwise, the reply string is ignored, | 1619 // page. Replies true if yes, false otherwise, the reply string is ignored, |
| 1628 // but is included so that we can use OnJavaScriptMessageBoxClosed. | 1620 // but is included so that we can use OnJavaScriptMessageBoxClosed. |
| 1629 IPC_SYNC_MESSAGE_ROUTED3_2(ViewHostMsg_RunBeforeUnloadConfirm, | 1621 IPC_SYNC_MESSAGE_ROUTED3_2(ViewHostMsg_RunBeforeUnloadConfirm, |
| 1630 GURL, /* in - originating frame URL */ | 1622 GURL, /* in - originating frame URL */ |
| 1631 base::string16 /* in - alert message */, | 1623 base::string16 /* in - alert message */, |
| 1632 bool /* in - is a reload */, | 1624 bool /* in - is a reload */, |
| 1633 bool /* out - success */, | 1625 bool /* out - success */, |
| 1634 base::string16 /* out - This is ignored.*/) | 1626 base::string16 /* out - This is ignored.*/) |
| 1635 | 1627 |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1949 // synchronously (see crbug.com/120597). This IPC message sends the character | 1941 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 1950 // bounds after every composition change to always have correct bound info. | 1942 // bounds after every composition change to always have correct bound info. |
| 1951 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1943 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 1952 gfx::Range /* composition range */, | 1944 gfx::Range /* composition range */, |
| 1953 std::vector<gfx::Rect> /* character bounds */) | 1945 std::vector<gfx::Rect> /* character bounds */) |
| 1954 #endif | 1946 #endif |
| 1955 | 1947 |
| 1956 // Adding a new message? Stick to the sort order above: first platform | 1948 // Adding a new message? Stick to the sort order above: first platform |
| 1957 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1949 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1958 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1950 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |