| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_EXTENSIONS_EXTENSION_SHELF_MODEL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SHELF_MODEL_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SHELF_MODEL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SHELF_MODEL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 virtual void ToolstripChanged(ExtensionShelfModel::iterator toolstrip) {} | 151 virtual void ToolstripChanged(ExtensionShelfModel::iterator toolstrip) {} |
| 152 | 152 |
| 153 // There are no more toolstrips in the model. | 153 // There are no more toolstrips in the model. |
| 154 virtual void ExtensionShelfEmpty() {} | 154 virtual void ExtensionShelfEmpty() {} |
| 155 | 155 |
| 156 // The entire model may have changed. | 156 // The entire model may have changed. |
| 157 virtual void ShelfModelReloaded() {} | 157 virtual void ShelfModelReloaded() {} |
| 158 | 158 |
| 159 // The model is being destroyed. | 159 // The model is being destroyed. |
| 160 virtual void ShelfModelDeleting() {} | 160 virtual void ShelfModelDeleting() {} |
| 161 | |
| 162 protected: | |
| 163 ~ExtensionShelfModelObserver() {} | |
| 164 }; | 161 }; |
| 165 | 162 |
| 166 | 163 |
| 167 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SHELF_MODEL_H_ | 164 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SHELF_MODEL_H_ |
| OLD | NEW |