Remove unnecessary FindToolbarManager references
commit3daffc9d50c8a025abec6ca5e639df3cc1d4360d
authoryusufo <yusufo@chromium.org>
Thu, 18 Jun 2015 17:37:17 +0000 (18 10:37 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 18 Jun 2015 17:38:57 +0000 (18 17:38 +0000)
treee73563dcfa6b607d06c51da7aa73f55162a88cd2
parent2bc6a4d7ec40b8fd80daed7f48f8329ddf405d98
Remove unnecessary FindToolbarManager references

Both ToolbarControlContainer and ContextualSearchManager holds references to
FindToolbarManager. Remove these and move logic to activity and ToolbarManager.
The next step would be find a shared place for ToolbarManager in the activity
and removing the references inside the activities as well.

BUG=501509

Review URL: https://codereview.chromium.org/1190983003

Cr-Commit-Position: refs/heads/master@{#335072}
chrome/android/java_staging/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
chrome/android/java_staging/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java
chrome/android/java_staging/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
chrome/android/java_staging/src/org/chromium/chrome/browser/document/DocumentActivity.java
chrome/android/java_staging/src/org/chromium/chrome/browser/toolbar/ToolbarControlContainer.java
chrome/android/java_staging/src/org/chromium/chrome/browser/toolbar/ToolbarLayout.java