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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 virtual void DidCloneToNewWebContents( | 153 virtual void DidCloneToNewWebContents( |
154 content::WebContents* old_web_contents, | 154 content::WebContents* old_web_contents, |
155 content::WebContents* new_web_contents) OVERRIDE; | 155 content::WebContents* new_web_contents) OVERRIDE; |
156 | 156 |
157 // extensions::ExtensionFunctionDispatcher::Delegate overrides. | 157 // extensions::ExtensionFunctionDispatcher::Delegate overrides. |
158 virtual extensions::WindowController* GetExtensionWindowController() | 158 virtual extensions::WindowController* GetExtensionWindowController() |
159 const OVERRIDE; | 159 const OVERRIDE; |
160 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; | 160 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; |
161 | 161 |
162 // Message handlers. | 162 // Message handlers. |
163 void OnDidGetApplicationInfo(const WebApplicationInfo& info); | 163 void OnDidGetWebApplicationInfo(const WebApplicationInfo& info); |
164 void OnInlineWebstoreInstall(int install_id, | 164 void OnInlineWebstoreInstall(int install_id, |
165 int return_route_id, | 165 int return_route_id, |
166 const std::string& webstore_item_id, | 166 const std::string& webstore_item_id, |
167 const GURL& requestor_url, | 167 const GURL& requestor_url, |
168 int listeners_mask); | 168 int listeners_mask); |
169 void OnGetAppInstallState(const GURL& requestor_url, | 169 void OnGetAppInstallState(const GURL& requestor_url, |
170 int return_route_id, | 170 int return_route_id, |
171 int callback_id); | 171 int callback_id); |
172 void OnRequest(const ExtensionHostMsg_Request_Params& params); | 172 void OnRequest(const ExtensionHostMsg_Request_Params& params); |
173 void OnContentScriptsExecuting( | 173 void OnContentScriptsExecuting( |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 | 259 |
260 // Creates WebstoreInlineInstaller instances for inline install triggers. | 260 // Creates WebstoreInlineInstaller instances for inline install triggers. |
261 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; | 261 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; |
262 | 262 |
263 DISALLOW_COPY_AND_ASSIGN(TabHelper); | 263 DISALLOW_COPY_AND_ASSIGN(TabHelper); |
264 }; | 264 }; |
265 | 265 |
266 } // namespace extensions | 266 } // namespace extensions |
267 | 267 |
268 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ | 268 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ |
OLD | NEW |