| 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 10 matching lines...) Expand all Loading... |
| 21 #include "content/public/browser/web_contents_observer.h" | 21 #include "content/public/browser/web_contents_observer.h" |
| 22 #include "content/public/browser/web_contents_user_data.h" | 22 #include "content/public/browser/web_contents_user_data.h" |
| 23 #include "extensions/browser/extension_function_dispatcher.h" | 23 #include "extensions/browser/extension_function_dispatcher.h" |
| 24 #include "extensions/common/stack_frame.h" | 24 #include "extensions/common/stack_frame.h" |
| 25 #include "third_party/skia/include/core/SkBitmap.h" | 25 #include "third_party/skia/include/core/SkBitmap.h" |
| 26 | 26 |
| 27 class FaviconDownloader; | 27 class FaviconDownloader; |
| 28 | 28 |
| 29 namespace content { | 29 namespace content { |
| 30 struct LoadCommittedDetails; | 30 struct LoadCommittedDetails; |
| 31 class RenderFrameHost; |
| 31 } | 32 } |
| 32 | 33 |
| 33 namespace gfx { | 34 namespace gfx { |
| 34 class Image; | 35 class Image; |
| 35 } | 36 } |
| 36 | 37 |
| 37 namespace extensions { | 38 namespace extensions { |
| 38 class BookmarkAppHelper; | 39 class BookmarkAppHelper; |
| 39 class Extension; | 40 class Extension; |
| 40 class LocationBarController; | 41 class LocationBarController; |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 void FinishCreateBookmarkApp(const extensions::Extension* extension, | 172 void FinishCreateBookmarkApp(const extensions::Extension* extension, |
| 172 const WebApplicationInfo& web_app_info); | 173 const WebApplicationInfo& web_app_info); |
| 173 | 174 |
| 174 // content::WebContentsObserver overrides. | 175 // content::WebContentsObserver overrides. |
| 175 virtual void RenderViewCreated( | 176 virtual void RenderViewCreated( |
| 176 content::RenderViewHost* render_view_host) OVERRIDE; | 177 content::RenderViewHost* render_view_host) OVERRIDE; |
| 177 virtual void DidNavigateMainFrame( | 178 virtual void DidNavigateMainFrame( |
| 178 const content::LoadCommittedDetails& details, | 179 const content::LoadCommittedDetails& details, |
| 179 const content::FrameNavigateParams& params) OVERRIDE; | 180 const content::FrameNavigateParams& params) OVERRIDE; |
| 180 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 181 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 182 virtual bool OnMessageReceived( |
| 183 const IPC::Message& message, |
| 184 content::RenderFrameHost* render_frame_host) OVERRIDE; |
| 181 virtual void DidCloneToNewWebContents( | 185 virtual void DidCloneToNewWebContents( |
| 182 content::WebContents* old_web_contents, | 186 content::WebContents* old_web_contents, |
| 183 content::WebContents* new_web_contents) OVERRIDE; | 187 content::WebContents* new_web_contents) OVERRIDE; |
| 184 | 188 |
| 185 // extensions::ExtensionFunctionDispatcher::Delegate overrides. | 189 // extensions::ExtensionFunctionDispatcher::Delegate overrides. |
| 186 virtual extensions::WindowController* GetExtensionWindowController() | 190 virtual extensions::WindowController* GetExtensionWindowController() |
| 187 const OVERRIDE; | 191 const OVERRIDE; |
| 188 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; | 192 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; |
| 189 | 193 |
| 190 // Message handlers. | 194 // Message handlers. |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 | 282 |
| 279 // Creates WebstoreInlineInstaller instances for inline install triggers. | 283 // Creates WebstoreInlineInstaller instances for inline install triggers. |
| 280 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; | 284 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; |
| 281 | 285 |
| 282 DISALLOW_COPY_AND_ASSIGN(TabHelper); | 286 DISALLOW_COPY_AND_ASSIGN(TabHelper); |
| 283 }; | 287 }; |
| 284 | 288 |
| 285 } // namespace extensions | 289 } // namespace extensions |
| 286 | 290 |
| 287 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ | 291 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ |
| OLD | NEW |