Chromium Code Reviews| Index: content/common/view_messages.h |
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
| index 4688fd6494f44ec7d8067b56b4ed2091186d31b6..94ab105a852ddc12b0875be230624382afe632a8 100644 |
| --- a/content/common/view_messages.h |
| +++ b/content/common/view_messages.h |
| @@ -680,10 +680,16 @@ IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, |
| // Set the zoom level for a particular url, so all render views |
| // displaying this url can update their zoom levels to match. |
| // If scheme is empty, then only host is used for matching. |
| -IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL, |
| +// Render views in the exception list do not have their levels changed. |
| +IPC_MESSAGE_CONTROL4(ViewMsg_SetZoomLevelForCurrentURL, |
| std::string /* scheme */, |
| std::string /* host */, |
| - double /* zoom_level */) |
| + double /* zoom_level */, |
| + std::set<int> /* exceptions */) |
|
Fady Samuel
2014/06/09 15:43:21
It seems kind of heavy weight to iterate through a
wjmaclean
2014/06/09 17:23:29
Personally, I would think that a single IPC would
|
| + |
| +// Set the zoom level for a particular render view. |
| +IPC_MESSAGE_ROUTED1(ViewMsg_SetZoomLevelForView, |
|
Fady Samuel
2014/06/09 15:43:21
To the comment above, the first parameter sets the
|
| + double /* zoom_level */) |
| // Change encoding of page in the renderer. |
| IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, |