| 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 1340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1351 | 1351 |
| 1352 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) | 1352 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) |
| 1353 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) | 1353 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |
| 1354 | 1354 |
| 1355 // Message sent from renderer to the browser when focus changes inside the | 1355 // Message sent from renderer to the browser when focus changes inside the |
| 1356 // webpage. The parameter says whether the newly focused element needs | 1356 // webpage. The parameter says whether the newly focused element needs |
| 1357 // keyboard input (true for textfields, text areas and content editable divs). | 1357 // keyboard input (true for textfields, text areas and content editable divs). |
| 1358 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, | 1358 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, |
| 1359 bool /* is_editable_node */) | 1359 bool /* is_editable_node */) |
| 1360 | 1360 |
| 1361 // Sent by the renderer when the focused frame changes. |
| 1362 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedFrameChanged, |
| 1363 int /* focused_frame_routing_id */) |
| 1364 |
| 1361 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, | 1365 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, |
| 1362 WebCursor) | 1366 WebCursor) |
| 1363 | 1367 |
| 1364 // Used to set a cookie. The cookie is set asynchronously, but will be | 1368 // Used to set a cookie. The cookie is set asynchronously, but will be |
| 1365 // available to a subsequent ViewHostMsg_GetCookies request. | 1369 // available to a subsequent ViewHostMsg_GetCookies request. |
| 1366 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, | 1370 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, |
| 1367 int /* render_frame_id */, | 1371 int /* render_frame_id */, |
| 1368 GURL /* url */, | 1372 GURL /* url */, |
| 1369 GURL /* first_party_for_cookies */, | 1373 GURL /* first_party_for_cookies */, |
| 1370 std::string /* cookie */) | 1374 std::string /* cookie */) |
| (...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2002 // synchronously (see crbug.com/120597). This IPC message sends the character | 2006 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2003 // bounds after every composition change to always have correct bound info. | 2007 // bounds after every composition change to always have correct bound info. |
| 2004 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2008 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2005 gfx::Range /* composition range */, | 2009 gfx::Range /* composition range */, |
| 2006 std::vector<gfx::Rect> /* character bounds */) | 2010 std::vector<gfx::Rect> /* character bounds */) |
| 2007 #endif | 2011 #endif |
| 2008 | 2012 |
| 2009 // Adding a new message? Stick to the sort order above: first platform | 2013 // Adding a new message? Stick to the sort order above: first platform |
| 2010 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2014 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2011 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2015 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |