Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1067)

Unified Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper.cc

Issue 10388160: Only return the visible page actions from PageActionController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a6684330a21478c904e8cd74db832f94641ebdee..dbadc45f4b546fa103b8123a91b33f0d597d21ff 100644
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc
@@ -98,7 +98,7 @@ TabContentsWrapper::TabContentsWrapper(WebContents* contents)
extension_script_executor_.reset(
new extensions::ScriptExecutorImpl(web_contents()));
extension_action_box_controller_.reset(
- new extensions::PageActionController(this));
+ new extensions::PageActionController(this, extension_tab_helper_.get()));
favicon_tab_helper_.reset(new FaviconTabHelper(contents));
find_tab_helper_.reset(new FindTabHelper(contents));
history_tab_helper_.reset(new HistoryTabHelper(contents));

Powered by Google App Engine
This is Rietveld 408576698