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.h" | 9 #include "base/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 2081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2092 GURL /* URL of requestor */, | 2092 GURL /* URL of requestor */, |
2093 std::string /* signed public key and challenge */) | 2093 std::string /* signed public key and challenge */) |
2094 | 2094 |
2095 // Message sent from the renderer to the browser to request that the browser | 2095 // Message sent from the renderer to the browser to request that the browser |
2096 // cache |data| associated with |url|. | 2096 // cache |data| associated with |url|. |
2097 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, | 2097 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, |
2098 GURL /* url */, | 2098 GURL /* url */, |
2099 double /* expected_response_time */, | 2099 double /* expected_response_time */, |
2100 std::vector<char> /* data */) | 2100 std::vector<char> /* data */) |
2101 | 2101 |
2102 // Updates the content restrictions, i.e. to disable print/copy. | |
2103 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, | |
2104 int /* restrictions */) | |
2105 | |
2106 // Brings up SaveAs... dialog to save specified URL. | |
2107 IPC_MESSAGE_ROUTED2(ViewHostMsg_SaveURLAs, | |
2108 GURL /* url */, | |
2109 content::Referrer /* referrer */) | |
2110 | |
2111 // Displays a JavaScript out-of-memory message in the infobar. | 2102 // Displays a JavaScript out-of-memory message in the infobar. |
2112 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) | 2103 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) |
2113 | 2104 |
2114 // Register a new handler for URL requests with the given scheme. | 2105 // Register a new handler for URL requests with the given scheme. |
2115 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, | 2106 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, |
2116 std::string /* scheme */, | 2107 std::string /* scheme */, |
2117 GURL /* url */, | 2108 GURL /* url */, |
2118 string16 /* title */, | 2109 string16 /* title */, |
2119 bool /* user_gesture */) | 2110 bool /* user_gesture */) |
2120 | 2111 |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2347 // synchronously (see crbug.com/120597). This IPC message sends the character | 2338 // synchronously (see crbug.com/120597). This IPC message sends the character |
2348 // bounds after every composition change to always have correct bound info. | 2339 // bounds after every composition change to always have correct bound info. |
2349 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2340 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2350 ui::Range /* composition range */, | 2341 ui::Range /* composition range */, |
2351 std::vector<gfx::Rect> /* character bounds */) | 2342 std::vector<gfx::Rect> /* character bounds */) |
2352 #endif | 2343 #endif |
2353 | 2344 |
2354 // Adding a new message? Stick to the sort order above: first platform | 2345 // Adding a new message? Stick to the sort order above: first platform |
2355 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2346 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2356 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2347 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |