Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1684)

Side by Side Diff: content/common/view_messages.h

Issue 188923002: Move RenderViewHost::InsertCSS to RenderFrameHost. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nasko Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/frame_messages.h ('k') | content/public/browser/render_frame_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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.
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/public/browser/render_frame_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698