| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 // ExtensionFunctionDispatcher::Delegate overrides. | 184 // ExtensionFunctionDispatcher::Delegate overrides. |
| 185 virtual extensions::WindowController* GetExtensionWindowController() | 185 virtual extensions::WindowController* GetExtensionWindowController() |
| 186 const OVERRIDE; | 186 const OVERRIDE; |
| 187 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; | 187 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; |
| 188 | 188 |
| 189 // Message handlers. | 189 // Message handlers. |
| 190 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info); | 190 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info); |
| 191 void OnInlineWebstoreInstall(int install_id, | 191 void OnInlineWebstoreInstall(int install_id, |
| 192 int return_route_id, | 192 int return_route_id, |
| 193 const std::string& webstore_item_id, | 193 const std::string& webstore_item_id, |
| 194 const GURL& requestor_url); | 194 const GURL& requestor_url, |
| 195 int listeners_mask); |
| 195 void OnGetAppInstallState(const GURL& requestor_url, | 196 void OnGetAppInstallState(const GURL& requestor_url, |
| 196 int return_route_id, | 197 int return_route_id, |
| 197 int callback_id); | 198 int callback_id); |
| 198 void OnRequest(const ExtensionHostMsg_Request_Params& params); | 199 void OnRequest(const ExtensionHostMsg_Request_Params& params); |
| 199 void OnContentScriptsExecuting( | 200 void OnContentScriptsExecuting( |
| 200 const ScriptExecutionObserver::ExecutingScriptsMap& extension_ids, | 201 const ScriptExecutionObserver::ExecutingScriptsMap& extension_ids, |
| 201 int32 page_id, | 202 int32 page_id, |
| 202 const GURL& on_url); | 203 const GURL& on_url); |
| 203 void OnWatchedPageChange(const std::vector<std::string>& css_selectors); | 204 void OnWatchedPageChange(const std::vector<std::string>& css_selectors); |
| 204 void OnDetailedConsoleMessageAdded(const base::string16& message, | 205 void OnDetailedConsoleMessageAdded(const base::string16& message, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 | 277 |
| 277 // Creates WebstoreInlineInstaller instances for inline install triggers. | 278 // Creates WebstoreInlineInstaller instances for inline install triggers. |
| 278 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; | 279 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; |
| 279 | 280 |
| 280 DISALLOW_COPY_AND_ASSIGN(TabHelper); | 281 DISALLOW_COPY_AND_ASSIGN(TabHelper); |
| 281 }; | 282 }; |
| 282 | 283 |
| 283 } // namespace extensions | 284 } // namespace extensions |
| 284 | 285 |
| 285 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ | 286 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ |
| OLD | NEW |