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

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

Issue 7517001: Switch from WebDocument::insertStyleText to ::insertUserStyleSheet for programatic CSS injection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebaseline Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 // client can uniquely identify the request. 949 // client can uniquely identify the request.
950 IPC_MESSAGE_ROUTED4(ViewMsg_ScriptEvalRequest, 950 IPC_MESSAGE_ROUTED4(ViewMsg_ScriptEvalRequest,
951 string16, /* frame_xpath */ 951 string16, /* frame_xpath */
952 string16, /* jscript_url */ 952 string16, /* jscript_url */
953 int, /* ID */ 953 int, /* ID */
954 bool /* If true, result is sent back. */) 954 bool /* If true, result is sent back. */)
955 955
956 // Request for the renderer to evaluate an xpath to a frame and insert css 956 // Request for the renderer to evaluate an xpath to a frame and insert css
957 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on 957 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on
958 // allowed xpath expressions. 958 // allowed xpath expressions.
959 IPC_MESSAGE_ROUTED3(ViewMsg_CSSInsertRequest, 959 IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest,
960 std::wstring, /* frame_xpath */ 960 std::wstring, /* frame_xpath */
961 std::string, /* css string */ 961 std::string /* css string */)
962 std::string /* element id */)
963 962
964 // External popup menus. 963 // External popup menus.
965 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, 964 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem,
966 int /* selected index, -1 means no selection */) 965 int /* selected index, -1 means no selection */)
967 966
968 // Change the zoom level for the current main frame. If the level actually 967 // Change the zoom level for the current main frame. If the level actually
969 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser 968 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser
970 // telling it what url got zoomed and what its current zoom level is. 969 // telling it what url got zoomed and what its current zoom level is.
971 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, 970 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom,
972 PageZoom::Function /* function */) 971 PageZoom::Function /* function */)
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after
1997 1996
1998 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, 1997 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks,
1999 std::vector<GURL> /* all savable resource links */, 1998 std::vector<GURL> /* all savable resource links */,
2000 std::vector<GURL> /* all referrers of resource links */, 1999 std::vector<GURL> /* all referrers of resource links */,
2001 std::vector<GURL> /* all frame links */) 2000 std::vector<GURL> /* all frame links */)
2002 2001
2003 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, 2002 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData,
2004 GURL /* frame's url */, 2003 GURL /* frame's url */,
2005 std::string /* data buffer */, 2004 std::string /* data buffer */,
2006 int32 /* complete status */) 2005 int32 /* complete status */)
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/api_test/executescript/basic/test.html ('k') | content/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698