OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef EXTENSIONS_RENDERER_DISPATCHER_H_ | 5 #ifndef EXTENSIONS_RENDERER_DISPATCHER_H_ |
6 #define EXTENSIONS_RENDERER_DISPATCHER_H_ | 6 #define EXTENSIONS_RENDERER_DISPATCHER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 const base::ListValue& args, | 166 const base::ListValue& args, |
167 bool user_gesture); | 167 bool user_gesture); |
168 void OnSetChannel(int channel); | 168 void OnSetChannel(int channel); |
169 void OnSetFunctionNames(const std::vector<std::string>& names); | 169 void OnSetFunctionNames(const std::vector<std::string>& names); |
170 void OnSetScriptingWhitelist( | 170 void OnSetScriptingWhitelist( |
171 const ExtensionsClient::ScriptingWhitelist& extension_ids); | 171 const ExtensionsClient::ScriptingWhitelist& extension_ids); |
172 void OnSetSystemFont(const std::string& font_family, | 172 void OnSetSystemFont(const std::string& font_family, |
173 const std::string& font_size); | 173 const std::string& font_size); |
174 void OnShouldSuspend(const std::string& extension_id, int sequence_id); | 174 void OnShouldSuspend(const std::string& extension_id, int sequence_id); |
175 void OnSuspend(const std::string& extension_id); | 175 void OnSuspend(const std::string& extension_id); |
| 176 void OnTransferBlobs(const std::vector<std::string>& blob_uuids); |
176 void OnUnloaded(const std::string& id); | 177 void OnUnloaded(const std::string& id); |
177 void OnUpdatePermissions(const ExtensionMsg_UpdatePermissions_Params& params); | 178 void OnUpdatePermissions(const ExtensionMsg_UpdatePermissions_Params& params); |
178 void OnUpdateTabSpecificPermissions(int page_id, | 179 void OnUpdateTabSpecificPermissions(int page_id, |
179 int tab_id, | 180 int tab_id, |
180 const std::string& extension_id, | 181 const std::string& extension_id, |
181 const URLPatternSet& origin_set); | 182 const URLPatternSet& origin_set); |
182 void OnUpdateUserScripts(base::SharedMemoryHandle scripts); | 183 void OnUpdateUserScripts(base::SharedMemoryHandle scripts); |
183 void OnUsingWebRequestAPI(bool adblock, | 184 void OnUsingWebRequestAPI(bool adblock, |
184 bool adblock_plus, | 185 bool adblock_plus, |
185 bool other_webrequest); | 186 bool other_webrequest); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 | 285 |
285 // True once WebKit has been initialized (and it is therefore safe to poke). | 286 // True once WebKit has been initialized (and it is therefore safe to poke). |
286 bool is_webkit_initialized_; | 287 bool is_webkit_initialized_; |
287 | 288 |
288 DISALLOW_COPY_AND_ASSIGN(Dispatcher); | 289 DISALLOW_COPY_AND_ASSIGN(Dispatcher); |
289 }; | 290 }; |
290 | 291 |
291 } // namespace extensions | 292 } // namespace extensions |
292 | 293 |
293 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_ | 294 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_ |
OLD | NEW |