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_INSTANT_INSTANT_PREVIEW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_PREVIEW_CONTROLLER_H_ |
6 #define CHROME_BROWSER_INSTANT_INSTANT_PREVIEW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_INSTANT_INSTANT_PREVIEW_CONTROLLER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "chrome/browser/instant/instant_model_observer.h" | 9 #include "chrome/browser/instant/instant_model_observer.h" |
10 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 const content::NotificationDetails& details) OVERRIDE; | 29 const content::NotificationDetails& details) OVERRIDE; |
30 | 30 |
31 protected: | 31 protected: |
32 Browser* const browser_; | 32 Browser* const browser_; |
33 | 33 |
34 private: | 34 private: |
35 void ResetInstant(); | 35 void ResetInstant(); |
36 | 36 |
37 content::NotificationRegistrar registrar_; | 37 content::NotificationRegistrar registrar_; |
38 | 38 |
39 DISALLOW_IMPLICIT_CONSTRUCTORS(InstantPreviewController); | 39 DISALLOW_COPY_AND_ASSIGN(InstantPreviewController); |
40 }; | 40 }; |
41 | 41 |
42 #endif // CHROME_BROWSER_INSTANT_INSTANT_PREVIEW_CONTROLLER_H_ | 42 #endif // CHROME_BROWSER_INSTANT_INSTANT_PREVIEW_CONTROLLER_H_ |
OLD | NEW |