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