| Index: chrome/browser/instant/instant_overlay_controller.h
|
| diff --git a/chrome/browser/instant/instant_overlay_controller.h b/chrome/browser/instant/instant_overlay_controller.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a571b3628c35eb8c385c1f99b7db46a198afffd7
|
| --- /dev/null
|
| +++ b/chrome/browser/instant/instant_overlay_controller.h
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2012 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.
|
| +
|
| +#ifndef CHROME_BROWSER_INSTANT_INSTANT_OVERLAY_CONTROLLER_H_
|
| +#define CHROME_BROWSER_INSTANT_INSTANT_OVERLAY_CONTROLLER_H_
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "chrome/browser/instant/instant_model_observer.h"
|
| +
|
| +class Browser;
|
| +class InstantModel;
|
| +
|
| +// Abstract base class for platform-specific Instant overlay controllers.
|
| +class InstantOverlayController : public InstantModelObserver {
|
| + protected:
|
| + explicit InstantOverlayController(Browser* browser);
|
| + virtual ~InstantOverlayController();
|
| +
|
| + Browser* const browser_;
|
| +
|
| + private:
|
| + // Overridden from InstantModelObserver:
|
| + virtual void OverlayStateChanged(const InstantModel& model) OVERRIDE = 0;
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_INSTANT_INSTANT_OVERLAY_CONTROLLER_H_
|
|
|