| 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 <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 content::WebContents* old_web_contents, | 145 content::WebContents* old_web_contents, |
| 146 content::WebContents* new_web_contents) override; | 146 content::WebContents* new_web_contents) override; |
| 147 | 147 |
| 148 // extensions::ExtensionFunctionDispatcher::Delegate overrides. | 148 // extensions::ExtensionFunctionDispatcher::Delegate overrides. |
| 149 extensions::WindowController* GetExtensionWindowController() const override; | 149 extensions::WindowController* GetExtensionWindowController() const override; |
| 150 content::WebContents* GetAssociatedWebContents() const override; | 150 content::WebContents* GetAssociatedWebContents() const override; |
| 151 | 151 |
| 152 // ExtensionRegistryObserver: | 152 // ExtensionRegistryObserver: |
| 153 void OnExtensionUnloaded(content::BrowserContext* browser_context, | 153 void OnExtensionUnloaded(content::BrowserContext* browser_context, |
| 154 const Extension* extension, | 154 const Extension* extension, |
| 155 UnloadedExtensionInfo::Reason reason) override; | 155 UnloadedExtensionReason reason) override; |
| 156 | 156 |
| 157 // Message handlers. | 157 // Message handlers. |
| 158 void OnDidGetWebApplicationInfo(const WebApplicationInfo& info); | 158 void OnDidGetWebApplicationInfo(const WebApplicationInfo& info); |
| 159 void OnInlineWebstoreInstall(content::RenderFrameHost* host, | 159 void OnInlineWebstoreInstall(content::RenderFrameHost* host, |
| 160 int install_id, | 160 int install_id, |
| 161 int return_route_id, | 161 int return_route_id, |
| 162 const std::string& webstore_item_id, | 162 const std::string& webstore_item_id, |
| 163 int listeners_mask); | 163 int listeners_mask); |
| 164 void OnGetAppInstallState(content::RenderFrameHost* host, | 164 void OnGetAppInstallState(content::RenderFrameHost* host, |
| 165 const GURL& requestor_url, | 165 const GURL& requestor_url, |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 | 268 |
| 269 // Generic weak ptr factory for posting callbacks. | 269 // Generic weak ptr factory for posting callbacks. |
| 270 base::WeakPtrFactory<TabHelper> weak_ptr_factory_; | 270 base::WeakPtrFactory<TabHelper> weak_ptr_factory_; |
| 271 | 271 |
| 272 DISALLOW_COPY_AND_ASSIGN(TabHelper); | 272 DISALLOW_COPY_AND_ASSIGN(TabHelper); |
| 273 }; | 273 }; |
| 274 | 274 |
| 275 } // namespace extensions | 275 } // namespace extensions |
| 276 | 276 |
| 277 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ | 277 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ |
| OLD | NEW |