| 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_EXTENSION_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 12 #include "chrome/browser/extensions/app_notify_channel_setup.h" | 12 #include "chrome/browser/extensions/app_notify_channel_setup.h" |
| 13 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 13 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
| 14 #include "chrome/browser/extensions/image_loading_tracker.h" | 14 #include "chrome/browser/extensions/image_loading_tracker.h" |
| 15 #include "chrome/browser/extensions/webstore_inline_installer.h" | 15 #include "chrome/browser/extensions/webstore_inline_installer.h" |
| 16 #include "chrome/common/web_apps.h" | 16 #include "chrome/common/web_apps.h" |
| 17 #include "content/public/browser/web_contents_observer.h" | 17 #include "content/public/browser/web_contents_observer.h" |
| 18 #include "third_party/skia/include/core/SkBitmap.h" | 18 #include "third_party/skia/include/core/SkBitmap.h" |
| 19 | 19 |
| 20 class ExtensionTabHelperDelegate; | 20 class ExtensionTabHelperDelegate; |
| 21 class TabContentsWrapper; | 21 class TabContents; |
| 22 typedef TabContents TabContentsWrapper; |
| 22 struct WebApplicationInfo; | 23 struct WebApplicationInfo; |
| 23 | 24 |
| 24 namespace content { | 25 namespace content { |
| 25 struct LoadCommittedDetails; | 26 struct LoadCommittedDetails; |
| 26 } | 27 } |
| 27 | 28 |
| 28 namespace extensions { | 29 namespace extensions { |
| 29 class Extension; | 30 class Extension; |
| 30 class LocationBarController; | 31 class LocationBarController; |
| 31 class ScriptBadgeController; | 32 class ScriptBadgeController; |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 // script_badge_controller will have a value, depending on whether the action | 194 // script_badge_controller will have a value, depending on whether the action |
| 194 // box is turned on. | 195 // box is turned on. |
| 195 scoped_ptr<extensions::ScriptExecutor> script_executor_; | 196 scoped_ptr<extensions::ScriptExecutor> script_executor_; |
| 196 scoped_ptr<extensions::LocationBarController> location_bar_controller_; | 197 scoped_ptr<extensions::LocationBarController> location_bar_controller_; |
| 197 scoped_refptr<extensions::ScriptBadgeController> script_badge_controller_; | 198 scoped_refptr<extensions::ScriptBadgeController> script_badge_controller_; |
| 198 | 199 |
| 199 DISALLOW_COPY_AND_ASSIGN(ExtensionTabHelper); | 200 DISALLOW_COPY_AND_ASSIGN(ExtensionTabHelper); |
| 200 }; | 201 }; |
| 201 | 202 |
| 202 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_H_ | 203 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_H_ |
| OLD | NEW |