| 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/process.h" | 9 #include "base/process/process.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 // Set the zoom level for a particular url that the renderer is in the | 710 // Set the zoom level for a particular url that the renderer is in the |
| 711 // process of loading. This will be stored, to be used if the load commits | 711 // process of loading. This will be stored, to be used if the load commits |
| 712 // and ignored otherwise. | 712 // and ignored otherwise. |
| 713 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, | 713 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, |
| 714 GURL /* url */, | 714 GURL /* url */, |
| 715 double /* zoom_level */) | 715 double /* zoom_level */) |
| 716 | 716 |
| 717 // Set the zoom level for a particular url, so all render views | 717 // Set the zoom level for a particular url, so all render views |
| 718 // displaying this url can update their zoom levels to match. | 718 // displaying this url can update their zoom levels to match. |
| 719 // If scheme is empty, then only host is used for matching. | 719 // If scheme is empty, then only host is used for matching. |
| 720 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL, | 720 IPC_MESSAGE_CONTROL4(ViewMsg_SetZoomLevelForCurrentURL, |
| 721 std::string /* scheme */, | 721 std::string /* scheme */, |
| 722 std::string /* host */, | 722 std::string /* host */, |
| 723 double /* zoom_level */) | 723 double /* zoom_level */, |
| 724 std::set<int> /* exceptions */) |
| 724 | 725 |
| 725 // Change encoding of page in the renderer. | 726 // Change encoding of page in the renderer. |
| 726 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, | 727 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, |
| 727 std::string /*new encoding name*/) | 728 std::string /*new encoding name*/) |
| 728 | 729 |
| 729 // Reset encoding of page in the renderer back to default. | 730 // Reset encoding of page in the renderer back to default. |
| 730 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) | 731 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) |
| 731 | 732 |
| 732 // Used to tell a render view whether it should expose various bindings | 733 // Used to tell a render view whether it should expose various bindings |
| 733 // that allow JS content extended privileges. See BindingsPolicy for valid | 734 // that allow JS content extended privileges. See BindingsPolicy for valid |
| (...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1832 // synchronously (see crbug.com/120597). This IPC message sends the character | 1833 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 1833 // bounds after every composition change to always have correct bound info. | 1834 // bounds after every composition change to always have correct bound info. |
| 1834 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1835 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 1835 gfx::Range /* composition range */, | 1836 gfx::Range /* composition range */, |
| 1836 std::vector<gfx::Rect> /* character bounds */) | 1837 std::vector<gfx::Rect> /* character bounds */) |
| 1837 #endif | 1838 #endif |
| 1838 | 1839 |
| 1839 // Adding a new message? Stick to the sort order above: first platform | 1840 // Adding a new message? Stick to the sort order above: first platform |
| 1840 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1841 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1841 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1842 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |