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

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

Issue 1890513004: Remove dependency on the DevTools agent for console logs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 8 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 662
663 // Request for the renderer to insert CSS into the frame. 663 // Request for the renderer to insert CSS into the frame.
664 IPC_MESSAGE_ROUTED1(FrameMsg_CSSInsertRequest, 664 IPC_MESSAGE_ROUTED1(FrameMsg_CSSInsertRequest,
665 std::string /* css */) 665 std::string /* css */)
666 666
667 // Add message to the devtools console. 667 // Add message to the devtools console.
668 IPC_MESSAGE_ROUTED2(FrameMsg_AddMessageToConsole, 668 IPC_MESSAGE_ROUTED2(FrameMsg_AddMessageToConsole,
669 content::ConsoleMessageLevel /* level */, 669 content::ConsoleMessageLevel /* level */,
670 std::string /* message */) 670 std::string /* message */)
671 671
672 // Add a security related message to the console (doesn't go through devtools).
673 IPC_MESSAGE_ROUTED2(FrameMsg_AddSecurityMessageToConsole,
pfeldman 2016/04/21 21:48:30 ditto
674 content::ConsoleMessageLevel /* level */,
675 std::string /* message */)
676
672 // Request for the renderer to execute JavaScript in the frame's context. 677 // Request for the renderer to execute JavaScript in the frame's context.
673 // 678 //
674 // javascript is the string containing the JavaScript to be executed in the 679 // javascript is the string containing the JavaScript to be executed in the
675 // target frame's context. 680 // target frame's context.
676 // 681 //
677 // If the third parameter is true the result is sent back to the browser using 682 // If the third parameter is true the result is sent back to the browser using
678 // the message FrameHostMsg_JavaScriptExecuteResponse. 683 // the message FrameHostMsg_JavaScriptExecuteResponse.
679 // FrameHostMsg_JavaScriptExecuteResponse is passed the ID parameter so that the 684 // FrameHostMsg_JavaScriptExecuteResponse is passed the ID parameter so that the
680 // host can uniquely identify the request. 685 // host can uniquely identify the request.
681 IPC_MESSAGE_ROUTED3(FrameMsg_JavaScriptExecuteRequest, 686 IPC_MESSAGE_ROUTED3(FrameMsg_JavaScriptExecuteRequest,
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
1441 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, 1446 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply,
1442 int /* version */, 1447 int /* version */,
1443 std::vector<gfx::RectF> /* rects */, 1448 std::vector<gfx::RectF> /* rects */,
1444 gfx::RectF /* active_rect */) 1449 gfx::RectF /* active_rect */)
1445 #endif 1450 #endif
1446 1451
1447 // Adding a new message? Stick to the sort order above: first platform 1452 // Adding a new message? Stick to the sort order above: first platform
1448 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1453 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1449 // platform independent FrameHostMsg, then ifdefs for platform specific 1454 // platform independent FrameHostMsg, then ifdefs for platform specific
1450 // FrameHostMsg. 1455 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698