OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_GTK_INSTANT_OVERLAY_CONTROLLER_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_INSTANT_OVERLAY_CONTROLLER_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_INSTANT_OVERLAY_CONTROLLER_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_INSTANT_OVERLAY_CONTROLLER_GTK_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "chrome/browser/instant/instant_overlay_controller.h" | 10 #include "chrome/browser/ui/search/instant_overlay_controller.h" |
11 | 11 |
12 class BrowserWindowGtk; | 12 class BrowserWindowGtk; |
13 class TabContentsContainerGtk; | 13 class TabContentsContainerGtk; |
14 | 14 |
15 class InstantOverlayControllerGtk : public InstantOverlayController { | 15 class InstantOverlayControllerGtk : public InstantOverlayController { |
16 public: | 16 public: |
17 InstantOverlayControllerGtk(BrowserWindowGtk* window, | 17 InstantOverlayControllerGtk(BrowserWindowGtk* window, |
18 TabContentsContainerGtk* contents); | 18 TabContentsContainerGtk* contents); |
19 virtual ~InstantOverlayControllerGtk(); | 19 virtual ~InstantOverlayControllerGtk(); |
20 | 20 |
21 private: | 21 private: |
22 // Overridden from InstantOverlayController: | 22 // Overridden from InstantOverlayController: |
23 virtual void OverlayStateChanged(const InstantOverlayModel& model) OVERRIDE; | 23 virtual void OverlayStateChanged(const InstantOverlayModel& model) OVERRIDE; |
24 | 24 |
25 BrowserWindowGtk* const window_; | 25 BrowserWindowGtk* const window_; |
26 TabContentsContainerGtk* const contents_; | 26 TabContentsContainerGtk* const contents_; |
27 | 27 |
28 DISALLOW_COPY_AND_ASSIGN(InstantOverlayControllerGtk); | 28 DISALLOW_COPY_AND_ASSIGN(InstantOverlayControllerGtk); |
29 }; | 29 }; |
30 | 30 |
31 #endif // CHROME_BROWSER_UI_GTK_INSTANT_OVERLAY_CONTROLLER_GTK_H_ | 31 #endif // CHROME_BROWSER_UI_GTK_INSTANT_OVERLAY_CONTROLLER_GTK_H_ |
OLD | NEW |