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/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 1369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1380 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStartLoading) | 1380 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStartLoading) |
1381 | 1381 |
1382 // Sent when the renderer is done loading a page. This corresponds to WebKit's | 1382 // Sent when the renderer is done loading a page. This corresponds to WebKit's |
1383 // notion of the throbber stopping. | 1383 // notion of the throbber stopping. |
1384 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopLoading) | 1384 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopLoading) |
1385 | 1385 |
1386 // Sent when the renderer main frame has made progress loading. | 1386 // Sent when the renderer main frame has made progress loading. |
1387 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeLoadProgress, | 1387 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeLoadProgress, |
1388 double /* load_progress */) | 1388 double /* load_progress */) |
1389 | 1389 |
1390 // Sent when the document element is available for a frame. This | 1390 // Sent when the document element is available for the top-level frame. This |
1391 // happens after the page starts loading, but before all resources are | 1391 // happens after the page starts loading, but before all resources are |
1392 // finished. | 1392 // finished. |
1393 IPC_MESSAGE_ROUTED2(ViewHostMsg_DocumentAvailableInFrame, | 1393 IPC_MESSAGE_ROUTED0(ViewHostMsg_DocumentAvailableInMainFrame) |
1394 bool /* true if it is the main frame */, | |
1395 GURL /* frame_source_url */) | |
1396 | 1394 |
1397 // Sent when after the onload handler has been invoked for the document | 1395 // Sent when after the onload handler has been invoked for the document |
1398 // in the toplevel frame. | 1396 // in the top-level frame. |
1399 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentOnLoadCompletedInMainFrame, | 1397 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentOnLoadCompletedInMainFrame, |
1400 int32 /* page_id */) | 1398 int32 /* page_id */) |
1401 | 1399 |
1402 // Sent when the renderer loads a resource from its memory cache. | 1400 // Sent when the renderer loads a resource from its memory cache. |
1403 // The security info is non empty if the resource was originally loaded over | 1401 // The security info is non empty if the resource was originally loaded over |
1404 // a secure connection. | 1402 // a secure connection. |
1405 // Note: May only be sent once per URL per frame per committed load. | 1403 // Note: May only be sent once per URL per frame per committed load. |
1406 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidLoadResourceFromMemoryCache, | 1404 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidLoadResourceFromMemoryCache, |
1407 GURL /* url */, | 1405 GURL /* url */, |
1408 std::string /* security info */, | 1406 std::string /* security info */, |
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2004 int /* automation_id */) | 2002 int /* automation_id */) |
2005 | 2003 |
2006 // Sent to the browser when the renderer detects it is blocked on a pepper | 2004 // Sent to the browser when the renderer detects it is blocked on a pepper |
2007 // plugin message for too long. This is also sent when it becomes unhung | 2005 // plugin message for too long. This is also sent when it becomes unhung |
2008 // (according to the value of is_hung). The browser can give the user the | 2006 // (according to the value of is_hung). The browser can give the user the |
2009 // option of killing the plugin. | 2007 // option of killing the plugin. |
2010 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2008 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2011 int /* plugin_child_id */, | 2009 int /* plugin_child_id */, |
2012 FilePath /* path */, | 2010 FilePath /* path */, |
2013 bool /* is_hung */) | 2011 bool /* is_hung */) |
OLD | NEW |