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

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

Issue 9148032: [Web Intents] Refactor picker to use WebIntentPickerModel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: groby's fix Created 8 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) 2011 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_FACTORY_H_
6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_FACTORY_H_
7 #pragma once
8
9 class Browser;
10 class TabContentsWrapper;
11 class WebIntentPicker;
12 class WebIntentPickerDelegate;
13
14 // Interface to create and close the WebIntentPicker UI.
15 class WebIntentPickerFactory {
16 public:
17 virtual ~WebIntentPickerFactory() {}
18
19 // Creates a new WebIntentPicker. The picker is owned by the factory.
20 virtual WebIntentPicker* Create(Browser* browser,
21 TabContentsWrapper* tab_contents,
22 WebIntentPickerDelegate* delegate) = 0;
23
24 // Closes and destroys the picker.
25 virtual void ClosePicker(WebIntentPicker* picker) = 0;
26 };
27
28 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_delegate.h ('k') | chrome/browser/ui/intents/web_intent_picker_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698