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

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

Issue 9696049: Add enable_automation build switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 e11f3a283eee37e630a10ccedbcea4d9789f5c90..b864cc6d6c66b02af944e0777aa8cd2c259c851a 100644
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc
@@ -81,7 +81,9 @@ TabContentsWrapper::TabContentsWrapper(WebContents* contents)
autocomplete_history_manager_->SetExternalDelegate(
autofill_external_delegate_.get());
}
+#if defined(ENABLE_AUTOMATION)
automation_tab_helper_.reset(new AutomationTabHelper(contents));
+#endif
blocked_content_tab_helper_.reset(new BlockedContentTabHelper(this));
bookmark_tab_helper_.reset(new BookmarkTabHelper(this));
constrained_window_tab_helper_.reset(new ConstrainedWindowTabHelper(this));

Powered by Google App Engine
This is Rietveld 408576698