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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 double /* zoom_level */) | 682 double /* zoom_level */) |
683 | 683 |
684 // Set the zoom level for a particular url, so all render views | 684 // Set the zoom level for a particular url, so all render views |
685 // displaying this url can update their zoom levels to match. | 685 // displaying this url can update their zoom levels to match. |
686 // If scheme is empty, then only host is used for matching. | 686 // If scheme is empty, then only host is used for matching. |
687 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL, | 687 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL, |
688 std::string /* scheme */, | 688 std::string /* scheme */, |
689 std::string /* host */, | 689 std::string /* host */, |
690 double /* zoom_level */) | 690 double /* zoom_level */) |
691 | 691 |
| 692 // Set the zoom level for a particular render view. |
| 693 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForView, |
| 694 bool /* uses_temporary_zoom_level */, |
| 695 double /* zoom_level */) |
| 696 |
692 // Change encoding of page in the renderer. | 697 // Change encoding of page in the renderer. |
693 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, | 698 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, |
694 std::string /*new encoding name*/) | 699 std::string /*new encoding name*/) |
695 | 700 |
696 // Reset encoding of page in the renderer back to default. | 701 // Reset encoding of page in the renderer back to default. |
697 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) | 702 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) |
698 | 703 |
699 // Used to tell a render view whether it should expose various bindings | 704 // Used to tell a render view whether it should expose various bindings |
700 // that allow JS content extended privileges. See BindingsPolicy for valid | 705 // that allow JS content extended privileges. See BindingsPolicy for valid |
701 // flag values. | 706 // flag values. |
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1712 // synchronously (see crbug.com/120597). This IPC message sends the character | 1717 // synchronously (see crbug.com/120597). This IPC message sends the character |
1713 // bounds after every composition change to always have correct bound info. | 1718 // bounds after every composition change to always have correct bound info. |
1714 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1719 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1715 gfx::Range /* composition range */, | 1720 gfx::Range /* composition range */, |
1716 std::vector<gfx::Rect> /* character bounds */) | 1721 std::vector<gfx::Rect> /* character bounds */) |
1717 #endif | 1722 #endif |
1718 | 1723 |
1719 // Adding a new message? Stick to the sort order above: first platform | 1724 // Adding a new message? Stick to the sort order above: first platform |
1720 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1725 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1721 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1726 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |