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, |
| 206 int page_id); |
205 void OnWatchedPageChange(const std::vector<std::string>& css_selectors); | 207 void OnWatchedPageChange(const std::vector<std::string>& css_selectors); |
206 void OnDetailedConsoleMessageAdded(const base::string16& message, | 208 void OnDetailedConsoleMessageAdded(const base::string16& message, |
207 const base::string16& source, | 209 const base::string16& source, |
208 const StackTrace& stack_trace, | 210 const StackTrace& stack_trace, |
209 int32 severity_level); | 211 int32 severity_level); |
210 | 212 |
211 // App extensions related methods: | 213 // App extensions related methods: |
212 | 214 |
213 // Resets app_icon_ and if |extension| is non-null uses ImageLoader to load | 215 // Resets app_icon_ and if |extension| is non-null uses ImageLoader to load |
214 // the extension's image asynchronously. | 216 // the extension's image asynchronously. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 | 280 |
279 // Creates WebstoreInlineInstaller instances for inline install triggers. | 281 // Creates WebstoreInlineInstaller instances for inline install triggers. |
280 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; | 282 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; |
281 | 283 |
282 DISALLOW_COPY_AND_ASSIGN(TabHelper); | 284 DISALLOW_COPY_AND_ASSIGN(TabHelper); |
283 }; | 285 }; |
284 | 286 |
285 } // namespace extensions | 287 } // namespace extensions |
286 | 288 |
287 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ | 289 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ |
OLD | NEW |