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 #ifndef CHROME_BROWSER_INSTANT_INSTANT_MODEL_H_ | 4 #ifndef CHROME_BROWSER_INSTANT_INSTANT_MODEL_H_ |
5 #define CHROME_BROWSER_INSTANT_INSTANT_MODEL_H_ | 5 #define CHROME_BROWSER_INSTANT_INSTANT_MODEL_H_ |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/observer_list.h" | 8 #include "base/observer_list.h" |
9 #include "chrome/common/instant_types.h" | 9 #include "chrome/common/instant_types.h" |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // may not always reflect the actual preview in effect. | 56 // may not always reflect the actual preview in effect. |
57 TabContents* preview_contents_; | 57 TabContents* preview_contents_; |
58 | 58 |
59 // Weak. The controller currently holds some model state. | 59 // Weak. The controller currently holds some model state. |
60 // TODO(dhollowa): Remove this, transfer all model state to InstantModel. | 60 // TODO(dhollowa): Remove this, transfer all model state to InstantModel. |
61 InstantController* const controller_; | 61 InstantController* const controller_; |
62 | 62 |
63 // Observers. | 63 // Observers. |
64 mutable ObserverList<InstantModelObserver> observers_; | 64 mutable ObserverList<InstantModelObserver> observers_; |
65 | 65 |
66 DISALLOW_IMPLICIT_CONSTRUCTORS(InstantModel); | 66 DISALLOW_COPY_AND_ASSIGN(InstantModel); |
67 }; | 67 }; |
68 | 68 |
69 #endif // CHROME_BROWSER_INSTANT_INSTANT_MODEL_H_ | 69 #endif // CHROME_BROWSER_INSTANT_INSTANT_MODEL_H_ |
OLD | NEW |