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 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1249 base::string16 /* in - alert message */, | 1249 base::string16 /* in - alert message */, |
1250 base::string16 /* in - default prompt */, | 1250 base::string16 /* in - default prompt */, |
1251 GURL /* in - originating page URL */, | 1251 GURL /* in - originating page URL */, |
1252 content::JavaScriptMessageType /* in - type */, | 1252 content::JavaScriptMessageType /* in - type */, |
1253 bool /* out - success */, | 1253 bool /* out - success */, |
1254 base::string16 /* out - user_input field */) | 1254 base::string16 /* out - user_input field */) |
1255 | 1255 |
1256 // Displays a dialog to confirm that the user wants to navigate away from the | 1256 // Displays a dialog to confirm that the user wants to navigate away from the |
1257 // page. Replies true if yes, and false otherwise. The reply string is ignored, | 1257 // page. Replies true if yes, and false otherwise. The reply string is ignored, |
1258 // but is included so that we can use OnJavaScriptMessageBoxClosed. | 1258 // but is included so that we can use OnJavaScriptMessageBoxClosed. |
1259 IPC_SYNC_MESSAGE_ROUTED3_2(FrameHostMsg_RunBeforeUnloadConfirm, | 1259 IPC_SYNC_MESSAGE_ROUTED2_2(FrameHostMsg_RunBeforeUnloadConfirm, |
1260 GURL, /* in - originating frame URL */ | 1260 GURL, /* in - originating frame URL */ |
1261 base::string16 /* in - alert message */, | |
1262 bool /* in - is a reload */, | 1261 bool /* in - is a reload */, |
1263 bool /* out - success */, | 1262 bool /* out - success */, |
1264 base::string16 /* out - This is ignored.*/) | 1263 base::string16 /* out - This is ignored.*/) |
1265 | 1264 |
1266 // Asks the browser to open the color chooser. | 1265 // Asks the browser to open the color chooser. |
1267 IPC_MESSAGE_ROUTED3(FrameHostMsg_OpenColorChooser, | 1266 IPC_MESSAGE_ROUTED3(FrameHostMsg_OpenColorChooser, |
1268 int /* id */, | 1267 int /* id */, |
1269 SkColor /* color */, | 1268 SkColor /* color */, |
1270 std::vector<content::ColorSuggestion> /* suggestions */) | 1269 std::vector<content::ColorSuggestion> /* suggestions */) |
1271 | 1270 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1437 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 1436 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |
1438 int /* version */, | 1437 int /* version */, |
1439 std::vector<gfx::RectF> /* rects */, | 1438 std::vector<gfx::RectF> /* rects */, |
1440 gfx::RectF /* active_rect */) | 1439 gfx::RectF /* active_rect */) |
1441 #endif | 1440 #endif |
1442 | 1441 |
1443 // Adding a new message? Stick to the sort order above: first platform | 1442 // Adding a new message? Stick to the sort order above: first platform |
1444 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1443 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1445 // platform independent FrameHostMsg, then ifdefs for platform specific | 1444 // platform independent FrameHostMsg, then ifdefs for platform specific |
1446 // FrameHostMsg. | 1445 // FrameHostMsg. |
OLD | NEW |