OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 interacting with frames. | 5 // IPC messages for interacting with frames. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 | 909 |
910 // Notifies the browser that a document has been loaded. | 910 // Notifies the browser that a document has been loaded. |
911 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad) | 911 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad) |
912 | 912 |
913 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidFailLoadWithError, | 913 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidFailLoadWithError, |
914 GURL /* validated_url */, | 914 GURL /* validated_url */, |
915 int /* error_code */, | 915 int /* error_code */, |
916 base::string16 /* error_description */, | 916 base::string16 /* error_description */, |
917 bool /* was_ignored_by_handler */) | 917 bool /* was_ignored_by_handler */) |
918 | 918 |
| 919 // Sent when the renderer decides to ignore a navigation. |
| 920 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDropNavigation) |
| 921 |
919 // Sent when the renderer starts loading the page. |to_different_document| will | 922 // Sent when the renderer starts loading the page. |to_different_document| will |
920 // be true unless the load is a fragment navigation, or triggered by | 923 // be true unless the load is a fragment navigation, or triggered by |
921 // history.pushState/replaceState. | 924 // history.pushState/replaceState. |
922 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, | 925 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, |
923 bool /* to_different_document */) | 926 bool /* to_different_document */) |
924 | 927 |
925 // Sent when the renderer is done loading a page. | 928 // Sent when the renderer is done loading a page. |
926 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) | 929 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) |
927 | 930 |
928 // Notifies the browser that this frame has new session history information. | 931 // Notifies the browser that this frame has new session history information. |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1426 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 1429 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |
1427 int /* version */, | 1430 int /* version */, |
1428 std::vector<gfx::RectF> /* rects */, | 1431 std::vector<gfx::RectF> /* rects */, |
1429 gfx::RectF /* active_rect */) | 1432 gfx::RectF /* active_rect */) |
1430 #endif | 1433 #endif |
1431 | 1434 |
1432 // Adding a new message? Stick to the sort order above: first platform | 1435 // Adding a new message? Stick to the sort order above: first platform |
1433 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1436 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1434 // platform independent FrameHostMsg, then ifdefs for platform specific | 1437 // platform independent FrameHostMsg, then ifdefs for platform specific |
1435 // FrameHostMsg. | 1438 // FrameHostMsg. |
OLD | NEW |