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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 155514: Implement extension specific events (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 // Call a javascript function in every registered context in this process. 555 // Call a javascript function in every registered context in this process.
556 // |args| is a list of primitive Value types that are passed to the function. 556 // |args| is a list of primitive Value types that are passed to the function.
557 IPC_MESSAGE_CONTROL2(ViewMsg_ExtensionMessageInvoke, 557 IPC_MESSAGE_CONTROL2(ViewMsg_ExtensionMessageInvoke,
558 std::string /* function_name */, 558 std::string /* function_name */,
559 ListValue /* args */) 559 ListValue /* args */)
560 560
561 // Tell the renderer process all known extension function names. 561 // Tell the renderer process all known extension function names.
562 IPC_MESSAGE_CONTROL1(ViewMsg_Extension_SetFunctionNames, 562 IPC_MESSAGE_CONTROL1(ViewMsg_Extension_SetFunctionNames,
563 std::vector<std::string>) 563 std::vector<std::string>)
564 564
565 // Tell the renderer process all known page action ids for a particular
566 // extension.
567 IPC_MESSAGE_CONTROL2(ViewMsg_Extension_UpdatePageActions,
568 std::string /* extension_id */,
569 std::vector<std::string> /* page_action_ids */)
570
565 // Changes the text direction of a selected input field. 571 // Changes the text direction of a selected input field.
566 // * direction (int) 572 // * direction (int)
567 // Represents the new text direction. 573 // Represents the new text direction.
568 // Its possible values are listed below: 574 // Its possible values are listed below:
569 // Value New Text Direction 575 // Value New Text Direction
570 // WEB_TEXT_DIRECTION_DEFAULT NaturalWritingDirection ("inherit") 576 // WEB_TEXT_DIRECTION_DEFAULT NaturalWritingDirection ("inherit")
571 // WEB_TEXT_DIRECTION_LTR LeftToRightWritingDirection ("rtl") 577 // WEB_TEXT_DIRECTION_LTR LeftToRightWritingDirection ("rtl")
572 // WEB_TEXT_DIRECTION_RTL RightToLeftWritingDirection ("ltr") 578 // WEB_TEXT_DIRECTION_RTL RightToLeftWritingDirection ("ltr")
573 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, 579 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection,
574 int /* direction */) 580 int /* direction */)
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
1482 // web resource. |error_message| is a user-readable explanation of what 1488 // web resource. |error_message| is a user-readable explanation of what
1483 // went wrong. 1489 // went wrong.
1484 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, 1490 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed,
1485 std::string /* error_message, if any */) 1491 std::string /* error_message, if any */)
1486 1492
1487 // Sent by the renderer process to acknowledge receipt of a 1493 // Sent by the renderer process to acknowledge receipt of a
1488 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. 1494 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame.
1489 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) 1495 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted)
1490 1496
1491 IPC_END_MESSAGES(ViewHost) 1497 IPC_END_MESSAGES(ViewHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698