| Index: chrome/browser/ui/find_bar/find_bar_controller.cc
|
| ===================================================================
|
| --- chrome/browser/ui/find_bar/find_bar_controller.cc (revision 91771)
|
| +++ chrome/browser/ui/find_bar/find_bar_controller.cc (working copy)
|
| @@ -12,6 +12,7 @@
|
| #include "chrome/browser/ui/find_bar/find_bar_state.h"
|
| #include "chrome/browser/ui/find_bar/find_tab_helper.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/common/chrome_notification_types.h"
|
| #include "content/browser/tab_contents/navigation_details.h"
|
| #include "content/browser/tab_contents/navigation_entry.h"
|
| #include "content/common/notification_details.h"
|
| @@ -84,7 +85,7 @@
|
| if (!tab_contents_)
|
| return;
|
|
|
| - registrar_.Add(this, NotificationType::FIND_RESULT_AVAILABLE,
|
| + registrar_.Add(this, chrome::FIND_RESULT_AVAILABLE,
|
| Source<TabContents>(tab_contents_->tab_contents()));
|
| registrar_.Add(this, NotificationType::NAV_ENTRY_COMMITTED,
|
| Source<NavigationController>(&tab_contents_->controller()));
|
| @@ -110,7 +111,7 @@
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| FindTabHelper* find_tab_helper = tab_contents_->find_tab_helper();
|
| - if (type == NotificationType::FIND_RESULT_AVAILABLE) {
|
| + if (type == chrome::FIND_RESULT_AVAILABLE) {
|
| // Don't update for notifications from TabContentses other than the one we
|
| // are actively tracking.
|
| if (Source<TabContents>(source).ptr() == tab_contents_->tab_contents()) {
|
|
|