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 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1319 | 1319 |
1320 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) | 1320 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) |
1321 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) | 1321 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |
1322 | 1322 |
1323 // Message sent from renderer to the browser when focus changes inside the | 1323 // Message sent from renderer to the browser when focus changes inside the |
1324 // webpage. The parameter says whether the newly focused element needs | 1324 // webpage. The parameter says whether the newly focused element needs |
1325 // keyboard input (true for textfields, text areas and content editable divs). | 1325 // keyboard input (true for textfields, text areas and content editable divs). |
1326 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, | 1326 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, |
1327 bool /* is_editable_node */) | 1327 bool /* is_editable_node */) |
1328 | 1328 |
1329 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, | 1329 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) |
1330 WebCursor) | |
1331 | 1330 |
1332 // Used to set a cookie. The cookie is set asynchronously, but will be | 1331 // Used to set a cookie. The cookie is set asynchronously, but will be |
1333 // available to a subsequent ViewHostMsg_GetCookies request. | 1332 // available to a subsequent ViewHostMsg_GetCookies request. |
1334 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, | 1333 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, |
1335 int /* render_frame_id */, | 1334 int /* render_frame_id */, |
1336 GURL /* url */, | 1335 GURL /* url */, |
1337 GURL /* first_party_for_cookies */, | 1336 GURL /* first_party_for_cookies */, |
1338 std::string /* cookie */) | 1337 std::string /* cookie */) |
1339 | 1338 |
1340 // Used to get cookies for the given URL. This may block waiting for a | 1339 // Used to get cookies for the given URL. This may block waiting for a |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1973 // synchronously (see crbug.com/120597). This IPC message sends the character | 1972 // synchronously (see crbug.com/120597). This IPC message sends the character |
1974 // bounds after every composition change to always have correct bound info. | 1973 // bounds after every composition change to always have correct bound info. |
1975 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1974 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1976 gfx::Range /* composition range */, | 1975 gfx::Range /* composition range */, |
1977 std::vector<gfx::Rect> /* character bounds */) | 1976 std::vector<gfx::Rect> /* character bounds */) |
1978 #endif | 1977 #endif |
1979 | 1978 |
1980 // Adding a new message? Stick to the sort order above: first platform | 1979 // Adding a new message? Stick to the sort order above: first platform |
1981 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1980 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1982 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1981 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |