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

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

Issue 9148032: [Web Intents] Refactor picker to use WebIntentPickerModel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: vertical layout for views Created 8 years, 11 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 #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 to notify that |model| has changed.
groby-ooo-7-16 2012/01/25 22:03:13 nit: Called to notify that -> Callback when
binji 2012/01/26 00:27:41 Done.
17 virtual void OnModelChanged(WebIntentPickerModel* model) = 0;
18
19 // Called to notify that the favicon at |index| in |model| has changed.
20 virtual void OnFaviconChanged(WebIntentPickerModel* model, size_t index) = 0;
21
22 // Called to notify that the inline disposition should be displayed for
23 // |model|.
24 virtual void OnInlineDisposition(WebIntentPickerModel* model) = 0;
25 };
26
27 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_MODEL_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698