| 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 "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1052 | 1052 |
| 1053 // Set the zoom level for a particular url that the renderer is in the | 1053 // Set the zoom level for a particular url that the renderer is in the |
| 1054 // process of loading. This will be stored, to be used if the load commits | 1054 // process of loading. This will be stored, to be used if the load commits |
| 1055 // and ignored otherwise. | 1055 // and ignored otherwise. |
| 1056 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, | 1056 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, |
| 1057 GURL /* url */, | 1057 GURL /* url */, |
| 1058 double /* zoom_level */) | 1058 double /* zoom_level */) |
| 1059 | 1059 |
| 1060 // Set the zoom level for a particular url, so all render views | 1060 // Set the zoom level for a particular url, so all render views |
| 1061 // displaying this url can update their zoom levels to match. | 1061 // displaying this url can update their zoom levels to match. |
| 1062 IPC_MESSAGE_CONTROL2(ViewMsg_SetZoomLevelForCurrentURL, | 1062 // If scheme is empty, then only host is used for matching. |
| 1063 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL, |
| 1064 std::string /* scheme */, |
| 1063 std::string /* host */, | 1065 std::string /* host */, |
| 1064 double /* zoom_level */) | 1066 double /* zoom_level */) |
| 1065 | 1067 |
| 1066 // Change encoding of page in the renderer. | 1068 // Change encoding of page in the renderer. |
| 1067 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, | 1069 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, |
| 1068 std::string /*new encoding name*/) | 1070 std::string /*new encoding name*/) |
| 1069 | 1071 |
| 1070 // Reset encoding of page in the renderer back to default. | 1072 // Reset encoding of page in the renderer back to default. |
| 1071 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) | 1073 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) |
| 1072 | 1074 |
| (...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2423 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2425 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2424 // for details. | 2426 // for details. |
| 2425 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2427 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2426 LOGFONT /* font_data */, | 2428 LOGFONT /* font_data */, |
| 2427 string16 /* characters */) | 2429 string16 /* characters */) |
| 2428 #endif | 2430 #endif |
| 2429 | 2431 |
| 2430 // Adding a new message? Stick to the sort order above: first platform | 2432 // Adding a new message? Stick to the sort order above: first platform |
| 2431 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2433 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2432 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2434 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |