| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 const std::string& module_name, | 164 const std::string& module_name, |
| 165 const std::string& function_name, | 165 const std::string& function_name, |
| 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 OnSetWebViewPartitionID(const std::string& parition_id); |
| 174 void OnShouldSuspend(const std::string& extension_id, uint64 sequence_id); | 175 void OnShouldSuspend(const std::string& extension_id, uint64 sequence_id); |
| 175 void OnSuspend(const std::string& extension_id); | 176 void OnSuspend(const std::string& extension_id); |
| 176 void OnTransferBlobs(const std::vector<std::string>& blob_uuids); | 177 void OnTransferBlobs(const std::vector<std::string>& blob_uuids); |
| 177 void OnUnloaded(const std::string& id); | 178 void OnUnloaded(const std::string& id); |
| 178 void OnUpdatePermissions(const ExtensionMsg_UpdatePermissions_Params& params); | 179 void OnUpdatePermissions(const ExtensionMsg_UpdatePermissions_Params& params); |
| 179 void OnUpdateTabSpecificPermissions(const GURL& visible_url, | 180 void OnUpdateTabSpecificPermissions(const GURL& visible_url, |
| 180 const std::string& extension_id, | 181 const std::string& extension_id, |
| 181 const URLPatternSet& new_hosts, | 182 const URLPatternSet& new_hosts, |
| 182 bool update_origin_whitelist, | 183 bool update_origin_whitelist, |
| 183 int tab_id); | 184 int tab_id); |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 | 305 |
| 305 // Status of webrequest usage. | 306 // Status of webrequest usage. |
| 306 bool webrequest_used_; | 307 bool webrequest_used_; |
| 307 | 308 |
| 308 DISALLOW_COPY_AND_ASSIGN(Dispatcher); | 309 DISALLOW_COPY_AND_ASSIGN(Dispatcher); |
| 309 }; | 310 }; |
| 310 | 311 |
| 311 } // namespace extensions | 312 } // namespace extensions |
| 312 | 313 |
| 313 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_ | 314 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_ |
| OLD | NEW |