Index: chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
diff --git a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
index 5e457eaf586263e332e26a40d2652d5280aa4942..2e708348f5a49c313520dcd77c9abef216027c43 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
@@ -12,8 +12,10 @@ |
#include "chrome/browser/automation/automation_tab_helper.h" |
#include "chrome/browser/content_settings/tab_specific_content_settings.h" |
#include "chrome/browser/download/download_request_limiter_observer.h" |
-#include "chrome/browser/extensions/extension_tab_helper.h" |
#include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" |
+#include "chrome/browser/extensions/badge_controller.h" |
Avi (use Gerrit)
2012/05/11 04:08:57
Do you need this include? You only directly use Pa
not at google - send to devlin
2012/05/11 04:15:44
Nope. Thanks, removed.
|
+#include "chrome/browser/extensions/extension_tab_helper.h" |
+#include "chrome/browser/extensions/page_action_controller.h" |
#include "chrome/browser/external_protocol/external_protocol_observer.h" |
#include "chrome/browser/favicon/favicon_tab_helper.h" |
#include "chrome/browser/history/history_tab_helper.h" |
@@ -90,6 +92,8 @@ TabContentsWrapper::TabContentsWrapper(WebContents* contents) |
constrained_window_tab_helper_.reset(new ConstrainedWindowTabHelper(this)); |
core_tab_helper_.reset(new CoreTabHelper(contents)); |
extension_tab_helper_.reset(new ExtensionTabHelper(this)); |
+ extensions_badge_controller_.reset( |
+ new extensions::PageActionController(this)); |
favicon_tab_helper_.reset(new FaviconTabHelper(contents)); |
find_tab_helper_.reset(new FindTabHelper(contents)); |
history_tab_helper_.reset(new HistoryTabHelper(contents)); |