OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
6 #include <map> | 6 #include <map> |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 GURL /* source extension's origin */, | 931 GURL /* source extension's origin */, |
932 std::vector<URLPattern> /* URLPatterns the extension can access */) | 932 std::vector<URLPattern> /* URLPatterns the extension can access */) |
933 | 933 |
934 // Tell the renderer process all known page action ids for a particular | 934 // Tell the renderer process all known page action ids for a particular |
935 // extension. | 935 // extension. |
936 IPC_MESSAGE_CONTROL2(ViewMsg_Extension_UpdatePageActions, | 936 IPC_MESSAGE_CONTROL2(ViewMsg_Extension_UpdatePageActions, |
937 std::string /* extension_id */, | 937 std::string /* extension_id */, |
938 std::vector<std::string> /* page_action_ids */) | 938 std::vector<std::string> /* page_action_ids */) |
939 | 939 |
940 // Notifies the renderer that an extension was loaded in the browser. | 940 // Notifies the renderer that an extension was loaded in the browser. |
941 IPC_MESSAGE_CONTROL1(ViewMsg_ExtensionLoaded, ViewMsg_ExtensionLoaded_Params); | 941 IPC_MESSAGE_CONTROL1(ViewMsg_ExtensionLoaded, ViewMsg_ExtensionLoaded_Params) |
942 | 942 |
943 // Notifies the renderer that an extension was unloaded in the browser. | 943 // Notifies the renderer that an extension was unloaded in the browser. |
944 IPC_MESSAGE_CONTROL1(ViewMsg_ExtensionUnloaded, std::string); | 944 IPC_MESSAGE_CONTROL1(ViewMsg_ExtensionUnloaded, std::string) |
945 | 945 |
946 // Updates the scripting whitelist for extensions in the render process. This is | 946 // Updates the scripting whitelist for extensions in the render process. This is |
947 // only used for testing. | 947 // only used for testing. |
948 IPC_MESSAGE_CONTROL1(ViewMsg_Extension_SetScriptingWhitelist, | 948 IPC_MESSAGE_CONTROL1(ViewMsg_Extension_SetScriptingWhitelist, |
949 Extension::ScriptingWhitelist /* extenison ids */); | 949 Extension::ScriptingWhitelist /* extenison ids */) |
950 | 950 |
951 // Changes the text direction of the currently selected input field (if any). | 951 // Changes the text direction of the currently selected input field (if any). |
952 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, | 952 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, |
953 WebKit::WebTextDirection /* direction */) | 953 WebKit::WebTextDirection /* direction */) |
954 | 954 |
955 // Tells the renderer to clear the focused node (if any). | 955 // Tells the renderer to clear the focused node (if any). |
956 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode) | 956 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode) |
957 | 957 |
958 // Make the RenderView transparent and render it onto a custom background. The | 958 // Make the RenderView transparent and render it onto a custom background. The |
959 // background will be tiled in both directions if it is not large enough. | 959 // background will be tiled in both directions if it is not large enough. |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1311 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidLoadResourceFromMemoryCache, | 1311 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidLoadResourceFromMemoryCache, |
1312 GURL /* url */, | 1312 GURL /* url */, |
1313 std::string /* security info */) | 1313 std::string /* security info */) |
1314 | 1314 |
1315 // Sent when the renderer displays insecure content in a secure page. | 1315 // Sent when the renderer displays insecure content in a secure page. |
1316 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) | 1316 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) |
1317 | 1317 |
1318 // Sent when the renderer runs insecure content in a secure origin. | 1318 // Sent when the renderer runs insecure content in a secure origin. |
1319 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, | 1319 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, |
1320 std::string /* security_origin */, | 1320 std::string /* security_origin */, |
1321 GURL /* target URL */); | 1321 GURL /* target URL */) |
1322 | 1322 |
1323 // Sent when the renderer starts a provisional load for a frame. | 1323 // Sent when the renderer starts a provisional load for a frame. |
1324 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidStartProvisionalLoadForFrame, | 1324 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidStartProvisionalLoadForFrame, |
1325 int64 /* frame_id */, | 1325 int64 /* frame_id */, |
1326 bool /* true if it is the main frame */, | 1326 bool /* true if it is the main frame */, |
1327 GURL /* url */) | 1327 GURL /* url */) |
1328 | 1328 |
1329 // Sent when the renderer fails a provisional load with an error. | 1329 // Sent when the renderer fails a provisional load with an error. |
1330 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailProvisionalLoadWithError, | 1330 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailProvisionalLoadWithError, |
1331 int64 /* frame_id */, | 1331 int64 /* frame_id */, |
(...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2352 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2352 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2353 int /* cmd */, | 2353 int /* cmd */, |
2354 int /* param */) | 2354 int /* param */) |
2355 | 2355 |
2356 // Register a new handler for URL requests with the given scheme. | 2356 // Register a new handler for URL requests with the given scheme. |
2357 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 2357 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
2358 std::string /* scheme */, | 2358 std::string /* scheme */, |
2359 GURL /* url */, | 2359 GURL /* url */, |
2360 string16 /* title */) | 2360 string16 /* title */) |
2361 | 2361 |
OLD | NEW |