Index: chrome/browser/infobars/infobar_container.h |
diff --git a/chrome/browser/infobars/infobar_container.h b/chrome/browser/infobars/infobar_container.h |
index 3808fb3acac68496e0a61e30ca6449367de443c7..6aebe0efe8cc595d7ef14faf5c419eefc185c284 100644 |
--- a/chrome/browser/infobars/infobar_container.h |
+++ b/chrome/browser/infobars/infobar_container.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -9,7 +9,6 @@ |
#include "base/compiler_specific.h" |
#include "base/time.h" |
-#include "chrome/browser/instant/instant_overlay_model_observer.h" |
#include "chrome/browser/ui/search/search_model_observer.h" |
#include "chrome/common/search_types.h" |
#include "content/public/browser/notification_observer.h" |
@@ -50,8 +49,7 @@ class SearchModel; |
// would re-show the infobars only to instantly animate them closed. The window |
// to re-hide infobars without animation is canceled if a tab change occurs. |
class InfoBarContainer : public content::NotificationObserver, |
- public chrome::search::SearchModelObserver, |
- public InstantOverlayModelObserver { |
+ public chrome::search::SearchModelObserver { |
public: |
class Delegate { |
public: |
@@ -110,8 +108,7 @@ class InfoBarContainer : public content::NotificationObserver, |
const Delegate* delegate() const { return delegate_; } |
- // InstantOverlayModelObserver: |
- virtual void OverlayStateChanged(const InstantOverlayModel& model) OVERRIDE; |
+ void InstantOverlayShown(); |
protected: |
// Subclasses must call this during destruction, so that we can remove |