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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 const GURL& requestor_url, | 195 const GURL& requestor_url, |
196 int listeners_mask); | 196 int listeners_mask); |
197 void OnGetAppInstallState(const GURL& requestor_url, | 197 void OnGetAppInstallState(const GURL& requestor_url, |
198 int return_route_id, | 198 int return_route_id, |
199 int callback_id); | 199 int callback_id); |
200 void OnRequest(const ExtensionHostMsg_Request_Params& params); | 200 void OnRequest(const ExtensionHostMsg_Request_Params& params); |
201 void OnContentScriptsExecuting( | 201 void OnContentScriptsExecuting( |
202 const ScriptExecutionObserver::ExecutingScriptsMap& extension_ids, | 202 const ScriptExecutionObserver::ExecutingScriptsMap& extension_ids, |
203 int32 page_id, | 203 int32 page_id, |
204 const GURL& on_url); | 204 const GURL& on_url); |
| 205 void OnNotifyExtensionScriptExecution(const std::string& extension_id); |
205 void OnWatchedPageChange(const std::vector<std::string>& css_selectors); | 206 void OnWatchedPageChange(const std::vector<std::string>& css_selectors); |
206 void OnDetailedConsoleMessageAdded(const base::string16& message, | 207 void OnDetailedConsoleMessageAdded(const base::string16& message, |
207 const base::string16& source, | 208 const base::string16& source, |
208 const StackTrace& stack_trace, | 209 const StackTrace& stack_trace, |
209 int32 severity_level); | 210 int32 severity_level); |
210 | 211 |
211 // App extensions related methods: | 212 // App extensions related methods: |
212 | 213 |
213 // Resets app_icon_ and if |extension| is non-null uses ImageLoader to load | 214 // Resets app_icon_ and if |extension| is non-null uses ImageLoader to load |
214 // the extension's image asynchronously. | 215 // the extension's image asynchronously. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 | 279 |
279 // Creates WebstoreInlineInstaller instances for inline install triggers. | 280 // Creates WebstoreInlineInstaller instances for inline install triggers. |
280 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; | 281 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; |
281 | 282 |
282 DISALLOW_COPY_AND_ASSIGN(TabHelper); | 283 DISALLOW_COPY_AND_ASSIGN(TabHelper); |
283 }; | 284 }; |
284 | 285 |
285 } // namespace extensions | 286 } // namespace extensions |
286 | 287 |
287 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ | 288 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ |
OLD | NEW |