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

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

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 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
(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
8 #include "base/string16.h"
9
10 class GURL;
11 class WebIntentPickerModel;
12
13 // Observer for changes to the WebIntentPickerModel.
14 class WebIntentPickerModelObserver {
15 public:
16 virtual ~WebIntentPickerModelObserver() {}
17
18 // Called when |model| has changed.
19 virtual void OnModelChanged(WebIntentPickerModel* model) = 0;
20
21 // Called when the favicon at |index| in |model| has changed.
22 virtual void OnFaviconChanged(WebIntentPickerModel* model, size_t index) = 0;
23
24 // Called when the extension with |extension_id| has its icon changed.
25 virtual void OnExtensionIconChanged(WebIntentPickerModel* model,
26 const std::string& extension_id) = 0;
27
28 // Called when the inline disposition should be displayed for |model|.
29 virtual void OnInlineDisposition(const string16& title,
30 const GURL& url) = 0;
31 };
32
33 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_MODEL_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698