| Index: chrome/browser/instant/instant_loader.cc
|
| ===================================================================
|
| --- chrome/browser/instant/instant_loader.cc (revision 91771)
|
| +++ chrome/browser/instant/instant_loader.cc (working copy)
|
| @@ -26,6 +26,7 @@
|
| #include "chrome/browser/ui/download/download_tab_helper_delegate.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h"
|
| +#include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/render_messages.h"
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| @@ -551,7 +552,7 @@
|
|
|
| Details<const bool> details(&result);
|
| NotificationService::current()->Notify(
|
| - NotificationType::INSTANT_SUPPORT_DETERMINED,
|
| + chrome::INSTANT_SUPPORT_DETERMINED,
|
| NotificationService::AllSources(),
|
| details);
|
|
|
| @@ -747,7 +748,7 @@
|
| SetTakesFocusOnlyOnMouseDown(false);
|
| registrar_.Remove(
|
| this,
|
| - NotificationType::RENDER_VIEW_HOST_CHANGED,
|
| + chrome::RENDER_VIEW_HOST_CHANGED,
|
| Source<NavigationController>(&preview_contents_->controller()));
|
| #endif
|
| }
|
| @@ -857,7 +858,7 @@
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| #if defined(OS_MACOSX)
|
| - if (type.value == NotificationType::RENDER_VIEW_HOST_CHANGED) {
|
| + if (type.value == chrome::RENDER_VIEW_HOST_CHANGED) {
|
| if (preview_contents_->tab_contents()->GetRenderWidgetHostView()) {
|
| preview_contents_->tab_contents()->GetRenderWidgetHostView()->
|
| SetTakesFocusOnlyOnMouseDown(true);
|
|
|