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

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

Issue 12093036: Move Extension Location and Type enums to Manifest, and move InstallWarning to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 ~ExtensionMsg_Loaded_Params(); 156 ~ExtensionMsg_Loaded_Params();
157 explicit ExtensionMsg_Loaded_Params(const extensions::Extension* extension); 157 explicit ExtensionMsg_Loaded_Params(const extensions::Extension* extension);
158 158
159 // Creates a new extension from the data in this object. 159 // Creates a new extension from the data in this object.
160 scoped_refptr<extensions::Extension> ConvertToExtension() const; 160 scoped_refptr<extensions::Extension> ConvertToExtension() const;
161 161
162 // The subset of the extension manifest data we send to renderers. 162 // The subset of the extension manifest data we send to renderers.
163 linked_ptr<DictionaryValue> manifest; 163 linked_ptr<DictionaryValue> manifest;
164 164
165 // The location the extension was installed from. 165 // The location the extension was installed from.
166 extensions::Extension::Location location; 166 extensions::Manifest::Location location;
167 167
168 // The path the extension was loaded from. This is used in the renderer only 168 // The path the extension was loaded from. This is used in the renderer only
169 // to generate the extension ID for extensions that are loaded unpacked. 169 // to generate the extension ID for extensions that are loaded unpacked.
170 FilePath path; 170 FilePath path;
171 171
172 // The extension's active permissions. 172 // The extension's active permissions.
173 extensions::APIPermissionSet apis; 173 extensions::APIPermissionSet apis;
174 extensions::URLPatternSet explicit_hosts; 174 extensions::URLPatternSet explicit_hosts;
175 extensions::URLPatternSet scriptable_hosts; 175 extensions::URLPatternSet scriptable_hosts;
176 176
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 // Notifies the browser process that a tab has started or stopped matching 591 // Notifies the browser process that a tab has started or stopped matching
592 // certain conditions. This message is sent in response to several events: 592 // certain conditions. This message is sent in response to several events:
593 // 593 //
594 // * ExtensionMsg_WatchPages was received, updating the set of conditions. 594 // * ExtensionMsg_WatchPages was received, updating the set of conditions.
595 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. 595 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate.
596 // Currently this only fires for the main frame. 596 // Currently this only fires for the main frame.
597 // * Something changed on an existing frame causing the set of matching searches 597 // * Something changed on an existing frame causing the set of matching searches
598 // to change. 598 // to change.
599 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, 599 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange,
600 std::vector<std::string> /* Matching CSS selectors */) 600 std::vector<std::string> /* Matching CSS selectors */)
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_l10n_util_unittest.cc ('k') | chrome/common/extensions/extension_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698