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

Side by Side Diff: chrome/common/extensions/extension_messages.h

Issue 22944002: Implementation of the "Redirect URLs to Packaged Apps" feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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) 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 extensions. 5 // IPC messages for extensions.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddEventToActivityLog, 610 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddEventToActivityLog,
611 std::string /* extension_id */, 611 std::string /* extension_id */,
612 ExtensionHostMsg_APIActionOrEvent_Params) 612 ExtensionHostMsg_APIActionOrEvent_Params)
613 613
614 // Sent by the renderer to log a DOM action to the extension activity log. 614 // Sent by the renderer to log a DOM action to the extension activity log.
615 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddDOMActionToActivityLog, 615 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddDOMActionToActivityLog,
616 std::string /* extension_id */, 616 std::string /* extension_id */,
617 ExtensionHostMsg_DOMAction_Params) 617 ExtensionHostMsg_DOMAction_Params)
618 618
619 // Notifies the browser process that a tab has started or stopped matching 619 // Notifies the browser process that a tab has started or stopped matching
620 // certain conditions. This message is sent in response to several events: 620 // certain conditions. This message is sent in response to several events:
621 // 621 //
622 // * ExtensionMsg_WatchPages was received, updating the set of conditions. 622 // * ExtensionMsg_WatchPages was received, updating the set of conditions.
623 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. 623 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate.
624 // Currently this only fires for the main frame. 624 // Currently this only fires for the main frame.
625 // * Something changed on an existing frame causing the set of matching searches 625 // * Something changed on an existing frame causing the set of matching searches
626 // to change. 626 // to change.
627 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, 627 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange,
628 std::vector<std::string> /* Matching CSS selectors */) 628 std::vector<std::string> /* Matching CSS selectors */)
629
630 // Tells the browser process to send to the specified app an onLaunched event
631 // with a URL and its corresponding referrer URL as parameters.
632 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_OnRedirectUrlToApp,
633 std::string /* extension_id */,
634 std::string /* handler_id */,
635 GURL /* URL to redirect */,
636 GURL /* referrer URL */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698