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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 // Set the zoom level for a particular url that the renderer is in the | 672 // Set the zoom level for a particular url that the renderer is in the |
673 // process of loading. This will be stored, to be used if the load commits | 673 // process of loading. This will be stored, to be used if the load commits |
674 // and ignored otherwise. | 674 // and ignored otherwise. |
675 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, | 675 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, |
676 GURL /* url */, | 676 GURL /* url */, |
677 double /* zoom_level */) | 677 double /* zoom_level */) |
678 | 678 |
679 // Set the zoom level for a particular url, so all render views | 679 // Set the zoom level for a particular url, so all render views |
680 // displaying this url can update their zoom levels to match. | 680 // displaying this url can update their zoom levels to match. |
681 // If scheme is empty, then only host is used for matching. | 681 // If scheme is empty, then only host is used for matching. |
682 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL, | 682 IPC_MESSAGE_CONTROL4(ViewMsg_SetZoomLevelForCurrentURL, |
683 std::string /* scheme */, | 683 std::string /* scheme */, |
684 std::string /* host */, | 684 std::string /* host */, |
685 double /* zoom_level */) | 685 double /* zoom_level */, |
| 686 std::set<int> /* exceptions */) |
686 | 687 |
687 // Change encoding of page in the renderer. | 688 // Change encoding of page in the renderer. |
688 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, | 689 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, |
689 std::string /*new encoding name*/) | 690 std::string /*new encoding name*/) |
690 | 691 |
691 // Reset encoding of page in the renderer back to default. | 692 // Reset encoding of page in the renderer back to default. |
692 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) | 693 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) |
693 | 694 |
694 // Used to tell a render view whether it should expose various bindings | 695 // Used to tell a render view whether it should expose various bindings |
695 // that allow JS content extended privileges. See BindingsPolicy for valid | 696 // that allow JS content extended privileges. See BindingsPolicy for valid |
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1735 // synchronously (see crbug.com/120597). This IPC message sends the character | 1736 // synchronously (see crbug.com/120597). This IPC message sends the character |
1736 // bounds after every composition change to always have correct bound info. | 1737 // bounds after every composition change to always have correct bound info. |
1737 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1738 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1738 gfx::Range /* composition range */, | 1739 gfx::Range /* composition range */, |
1739 std::vector<gfx::Rect> /* character bounds */) | 1740 std::vector<gfx::Rect> /* character bounds */) |
1740 #endif | 1741 #endif |
1741 | 1742 |
1742 // Adding a new message? Stick to the sort order above: first platform | 1743 // Adding a new message? Stick to the sort order above: first platform |
1743 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1744 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1744 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1745 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |