OLD | NEW |
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 #ifndef CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 const GURL& requestor_url, | 199 const GURL& requestor_url, |
200 int listeners_mask); | 200 int listeners_mask); |
201 void OnGetAppInstallState(const GURL& requestor_url, | 201 void OnGetAppInstallState(const GURL& requestor_url, |
202 int return_route_id, | 202 int return_route_id, |
203 int callback_id); | 203 int callback_id); |
204 void OnRequest(const ExtensionHostMsg_Request_Params& params); | 204 void OnRequest(const ExtensionHostMsg_Request_Params& params); |
205 void OnContentScriptsExecuting( | 205 void OnContentScriptsExecuting( |
206 const ScriptExecutionObserver::ExecutingScriptsMap& extension_ids, | 206 const ScriptExecutionObserver::ExecutingScriptsMap& extension_ids, |
207 int32 page_id, | 207 int32 page_id, |
208 const GURL& on_url); | 208 const GURL& on_url); |
209 void OnWatchedPageChange(const std::vector<std::string>& css_selectors); | 209 void OnWatchedPageChange(const std::string& event_name, |
| 210 const std::vector<std::string>& css_selectors); |
210 void OnDetailedConsoleMessageAdded(const base::string16& message, | 211 void OnDetailedConsoleMessageAdded(const base::string16& message, |
211 const base::string16& source, | 212 const base::string16& source, |
212 const StackTrace& stack_trace, | 213 const StackTrace& stack_trace, |
213 int32 severity_level); | 214 int32 severity_level); |
214 | 215 |
215 // App extensions related methods: | 216 // App extensions related methods: |
216 | 217 |
217 // Resets app_icon_ and if |extension| is non-null uses ImageLoader to load | 218 // Resets app_icon_ and if |extension| is non-null uses ImageLoader to load |
218 // the extension's image asynchronously. | 219 // the extension's image asynchronously. |
219 void UpdateExtensionAppIcon(const Extension* extension); | 220 void UpdateExtensionAppIcon(const Extension* extension); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 283 |
283 // Creates WebstoreInlineInstaller instances for inline install triggers. | 284 // Creates WebstoreInlineInstaller instances for inline install triggers. |
284 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; | 285 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; |
285 | 286 |
286 DISALLOW_COPY_AND_ASSIGN(TabHelper); | 287 DISALLOW_COPY_AND_ASSIGN(TabHelper); |
287 }; | 288 }; |
288 | 289 |
289 } // namespace extensions | 290 } // namespace extensions |
290 | 291 |
291 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ | 292 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ |
OLD | NEW |