| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_MODEL_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_MODEL_OBSERVER_H_ |
| 7 #pragma once |
| 8 |
| 9 class WebIntentPickerModel; |
| 10 |
| 11 // Observer for changes to the WebIntentPickerModel. |
| 12 class WebIntentPickerModelObserver { |
| 13 public: |
| 14 virtual ~WebIntentPickerModelObserver() {} |
| 15 |
| 16 // Called when |model| has changed. |
| 17 virtual void OnModelChanged(WebIntentPickerModel* model) = 0; |
| 18 |
| 19 // Called when the favicon at |index| in |model| has changed. |
| 20 virtual void OnFaviconChanged(WebIntentPickerModel* model, size_t index) = 0; |
| 21 |
| 22 // Called when the inline disposition should be displayed for |model|. |
| 23 virtual void OnInlineDisposition(WebIntentPickerModel* model) = 0; |
| 24 }; |
| 25 |
| 26 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_MODEL_OBSERVER_H_ |
| OLD | NEW |