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 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 int, /* ID */ | 735 int, /* ID */ |
736 bool /* If true, result is sent back. */) | 736 bool /* If true, result is sent back. */) |
737 | 737 |
738 // Posts a message from a frame in another process to the current renderer. | 738 // Posts a message from a frame in another process to the current renderer. |
739 IPC_MESSAGE_ROUTED1(ViewMsg_PostMessageEvent, | 739 IPC_MESSAGE_ROUTED1(ViewMsg_PostMessageEvent, |
740 ViewMsg_PostMessage_Params) | 740 ViewMsg_PostMessage_Params) |
741 | 741 |
742 // Requests that the RenderView's main frame sets its opener to null. | 742 // Requests that the RenderView's main frame sets its opener to null. |
743 IPC_MESSAGE_ROUTED0(ViewMsg_DisownOpener) | 743 IPC_MESSAGE_ROUTED0(ViewMsg_DisownOpener) |
744 | 744 |
745 // Request for the renderer to evaluate an xpath to a frame and insert css | |
746 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on | |
747 // allowed xpath expressions. | |
748 IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest, | |
749 base::string16, /* frame_xpath */ | |
750 std::string /* css string */) | |
751 | |
752 // Change the zoom level for the current main frame. If the level actually | 745 // Change the zoom level for the current main frame. If the level actually |
753 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser | 746 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser |
754 // telling it what url got zoomed and what its current zoom level is. | 747 // telling it what url got zoomed and what its current zoom level is. |
755 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, | 748 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, |
756 content::PageZoom /* function */) | 749 content::PageZoom /* function */) |
757 | 750 |
758 // Set the zoom level for the current main frame. If the level actually | 751 // Set the zoom level for the current main frame. If the level actually |
759 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser | 752 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser |
760 // telling it what url got zoomed and what its current zoom level is. | 753 // telling it what url got zoomed and what its current zoom level is. |
761 IPC_MESSAGE_ROUTED1(ViewMsg_SetZoomLevel, | 754 IPC_MESSAGE_ROUTED1(ViewMsg_SetZoomLevel, |
(...skipping 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2002 // synchronously (see crbug.com/120597). This IPC message sends the character | 1995 // synchronously (see crbug.com/120597). This IPC message sends the character |
2003 // bounds after every composition change to always have correct bound info. | 1996 // bounds after every composition change to always have correct bound info. |
2004 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1997 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2005 gfx::Range /* composition range */, | 1998 gfx::Range /* composition range */, |
2006 std::vector<gfx::Rect> /* character bounds */) | 1999 std::vector<gfx::Rect> /* character bounds */) |
2007 #endif | 2000 #endif |
2008 | 2001 |
2009 // Adding a new message? Stick to the sort order above: first platform | 2002 // Adding a new message? Stick to the sort order above: first platform |
2010 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2003 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2011 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2004 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |