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 b7c5780f0e50ecd8d517494f6fe7faeb7b524fd4..186aedfed168eb7cf64bbe4f2090eae49b1553ee 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
@@ -10,6 +10,9 @@ |
#include "chrome/browser/autofill/autofill_external_delegate.h" |
#include "chrome/browser/autofill/autofill_manager.h" |
#include "chrome/browser/automation/automation_tab_helper.h" |
+#if defined(ENABLE_INPUT_COLOR) |
+#include "chrome/browser/color_select_observer.h" |
+#endif |
#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" |
@@ -110,6 +113,9 @@ TabContentsWrapper::TabContentsWrapper(WebContents* contents) |
// Create the per-tab observers. |
alternate_error_page_tab_observer_.reset( |
new AlternateErrorPageTabObserver(contents)); |
+#if defined(ENABLE_INPUT_COLOR) |
+ color_select_observer_.reset(new ColorSelectObserver(contents)); |
+#endif // defined(ENABLE_INPUT_COLOR) |
download_request_limiter_observer_.reset( |
new DownloadRequestLimiterObserver(contents)); |
webnavigation_observer_.reset( |