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

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

Issue 175263003: Add chrome.webstore API methods to allow sites to see progress of installation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test 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
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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_ContentScriptsExecuting, 594 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_ContentScriptsExecuting,
595 ExecutingScriptsMap, 595 ExecutingScriptsMap,
596 int32 /* page_id of the _topmost_ frame */, 596 int32 /* page_id of the _topmost_ frame */,
597 GURL /* url of the _topmost_ frame */) 597 GURL /* url of the _topmost_ frame */)
598 598
599 IPC_MESSAGE_ROUTED2(ExtensionHostMsg_DidGetApplicationInfo, 599 IPC_MESSAGE_ROUTED2(ExtensionHostMsg_DidGetApplicationInfo,
600 int32 /* page_id */, 600 int32 /* page_id */,
601 WebApplicationInfo) 601 WebApplicationInfo)
602 602
603 // Sent by the renderer to implement chrome.webstore.install(). 603 // Sent by the renderer to implement chrome.webstore.install().
604 IPC_MESSAGE_ROUTED4(ExtensionHostMsg_InlineWebstoreInstall, 604 IPC_MESSAGE_ROUTED5(ExtensionHostMsg_InlineWebstoreInstall,
605 int32 /* install id */, 605 int32 /* install id */,
606 int32 /* return route id */, 606 int32 /* return route id */,
607 std::string /* Web Store item ID */, 607 std::string /* Web Store item ID */,
608 GURL /* requestor URL */) 608 GURL /* requestor URL */,
609 int /* listeners_mask */)
610
611 // Sent to the renderer if install stage updates were requested for an inline
612 // install.
613 IPC_MESSAGE_ROUTED1(ExtensionMsg_InlineInstallStageChanged,
614 std::string /* stage */)
jln (very slow on Chromium) 2014/03/10 23:35:41 Could you make this an enum instad of a string? W
Devlin 2014/03/11 17:22:06 Done, and thanks for the tip! :)
jln (very slow on Chromium) 2014/03/20 00:05:40 Sorry, I should have been more clear. You need to
Devlin 2014/03/20 16:54:37 Ah, I see. Like this?
615
616 // Sent to the renderer if download progress updates were requested for an
617 // inline install.
618 IPC_MESSAGE_ROUTED1(ExtensionMsg_InlineInstallDownloadProgress,
619 int /* percent_downloaded */)
609 620
610 // Sent by the renderer when a web page is checking if its app is installed. 621 // Sent by the renderer when a web page is checking if its app is installed.
611 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_GetAppInstallState, 622 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_GetAppInstallState,
612 GURL /* requestor_url */, 623 GURL /* requestor_url */,
613 int32 /* return_route_id */, 624 int32 /* return_route_id */,
614 int32 /* callback_id */) 625 int32 /* callback_id */)
615 626
616 // Optional Ack message sent to the browser to notify that the response to a 627 // Optional Ack message sent to the browser to notify that the response to a
617 // function has been processed. 628 // function has been processed.
618 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_ResponseAck, 629 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_ResponseAck,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 // certain conditions. This message is sent in response to several events: 677 // certain conditions. This message is sent in response to several events:
667 // 678 //
668 // * ExtensionMsg_WatchPages was received, updating the set of conditions. 679 // * ExtensionMsg_WatchPages was received, updating the set of conditions.
669 // * A new page is loaded. This will be sent after 680 // * A new page is loaded. This will be sent after
670 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the 681 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the
671 // main frame. 682 // main frame.
672 // * Something changed on an existing frame causing the set of matching searches 683 // * Something changed on an existing frame causing the set of matching searches
673 // to change. 684 // to change.
674 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, 685 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange,
675 std::vector<std::string> /* Matching CSS selectors */) 686 std::vector<std::string> /* Matching CSS selectors */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698