Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: chrome/browser/ui/intents/web_intent_picker_model_observer.h

Issue 9430025: [Web Intents] WebIntentsPickerController will now fetch icon for suggested extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_UI_INTENTS_WEB_INTENT_PICKER_MODEL_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_MODEL_OBSERVER_H_
6 #define 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 7 #pragma once
8 8
9 #include "base/string16.h"
10
9 class WebIntentPickerModel; 11 class WebIntentPickerModel;
10 12
11 // Observer for changes to the WebIntentPickerModel. 13 // Observer for changes to the WebIntentPickerModel.
12 class WebIntentPickerModelObserver { 14 class WebIntentPickerModelObserver {
13 public: 15 public:
14 virtual ~WebIntentPickerModelObserver() {} 16 virtual ~WebIntentPickerModelObserver() {}
15 17
16 // Called when |model| has changed. 18 // Called when |model| has changed.
17 virtual void OnModelChanged(WebIntentPickerModel* model) = 0; 19 virtual void OnModelChanged(WebIntentPickerModel* model) = 0;
18 20
19 // Called when the favicon at |index| in |model| has changed. 21 // Called when the favicon at |index| in |model| has changed.
20 virtual void OnFaviconChanged(WebIntentPickerModel* model, size_t index) = 0; 22 virtual void OnFaviconChanged(WebIntentPickerModel* model, size_t index) = 0;
21 23
24 // Called when the extension with |extension_id| has its icon changed.
25 virtual void OnExtensionIconChanged(WebIntentPickerModel* model,
26 const string16& extension_id) = 0;
27
22 // Called when the inline disposition should be displayed for |model|. 28 // Called when the inline disposition should be displayed for |model|.
23 virtual void OnInlineDisposition(WebIntentPickerModel* model) = 0; 29 virtual void OnInlineDisposition(WebIntentPickerModel* model) = 0;
24 }; 30 };
25 31
26 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_MODEL_OBSERVER_H_ 32 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_MODEL_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_model.cc ('k') | chrome/browser/ui/intents/web_intent_picker_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698