OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_ |
| 6 #define UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_ |
| 7 #pragma once |
| 8 |
| 9 namespace ui { |
| 10 |
| 11 class MenuModelDelegate { |
| 12 public: |
| 13 // Invoked when an icon has been loaded from history. |
| 14 virtual void OnIconChanged(int index) {} |
| 15 protected: |
| 16 virtual ~MenuModelDelegate() {} |
| 17 }; |
| 18 |
| 19 } // namespace ui |
| 20 |
| 21 #endif // UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_ |
OLD | NEW |