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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 // ExtensionFunctionDispatcher::Delegate overrides. | 200 // ExtensionFunctionDispatcher::Delegate overrides. |
201 virtual extensions::WindowController* GetExtensionWindowController() | 201 virtual extensions::WindowController* GetExtensionWindowController() |
202 const OVERRIDE; | 202 const OVERRIDE; |
203 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; | 203 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; |
204 | 204 |
205 // Message handlers. | 205 // Message handlers. |
206 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info); | 206 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info); |
207 void OnInlineWebstoreInstall(int install_id, | 207 void OnInlineWebstoreInstall(int install_id, |
208 int return_route_id, | 208 int return_route_id, |
209 const std::string& webstore_item_id, | 209 const std::string& webstore_item_id, |
210 const GURL& requestor_url); | 210 const GURL& requestor_url, |
| 211 int listeners_mask); |
211 void OnGetAppInstallState(const GURL& requestor_url, | 212 void OnGetAppInstallState(const GURL& requestor_url, |
212 int return_route_id, | 213 int return_route_id, |
213 int callback_id); | 214 int callback_id); |
214 void OnRequest(const ExtensionHostMsg_Request_Params& params); | 215 void OnRequest(const ExtensionHostMsg_Request_Params& params); |
215 void OnContentScriptsExecuting( | 216 void OnContentScriptsExecuting( |
216 const ScriptExecutionObserver::ExecutingScriptsMap& extension_ids, | 217 const ScriptExecutionObserver::ExecutingScriptsMap& extension_ids, |
217 int32 page_id, | 218 int32 page_id, |
218 const GURL& on_url); | 219 const GURL& on_url); |
219 void OnWatchedPageChange(const std::vector<std::string>& css_selectors); | 220 void OnWatchedPageChange(const std::vector<std::string>& css_selectors); |
220 void OnDetailedConsoleMessageAdded(const base::string16& message, | 221 void OnDetailedConsoleMessageAdded(const base::string16& message, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 | 293 |
293 // Creates WebstoreInlineInstaller instances for inline install triggers. | 294 // Creates WebstoreInlineInstaller instances for inline install triggers. |
294 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; | 295 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; |
295 | 296 |
296 DISALLOW_COPY_AND_ASSIGN(TabHelper); | 297 DISALLOW_COPY_AND_ASSIGN(TabHelper); |
297 }; | 298 }; |
298 | 299 |
299 } // namespace extensions | 300 } // namespace extensions |
300 | 301 |
301 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ | 302 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ |
OLD | NEW |