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

Unified Diff: chrome/browser/ui/intents/web_intent_picker_factory.h

Issue 7715037: Web Intent Picker UI (implemented as a constrained dialog, linux only) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: linux_views/chromeos fix Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/intents/web_intent_picker_factory.h
diff --git a/chrome/browser/ui/intents/web_intent_picker_factory.h b/chrome/browser/ui/intents/web_intent_picker_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..716bac59d5226cd00f4bd7c37fc30d47343b3d43
--- /dev/null
+++ b/chrome/browser/ui/intents/web_intent_picker_factory.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_FACTORY_H_
+#define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_FACTORY_H_
+#pragma once
+
+class TabContents;
+class WebIntentPicker;
+class WebIntentPickerDelegate;
+
+// Interface to create and close the WebIntentPicker UI.
+class WebIntentPickerFactory {
+ public:
+ virtual ~WebIntentPickerFactory() {}
+
+ // Creates a new WebIntentPicker. The picker is owned by the factory.
+ virtual WebIntentPicker* Create(TabContents* tab_contents,
+ WebIntentPickerDelegate* delegate) = 0;
+
+ // Closes and destroys the picker.
+ virtual void ClosePicker(WebIntentPicker* picker) = 0;
+};
+
+#endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_FACTORY_H_
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_delegate.h ('k') | chrome/browser/ui/tab_contents/tab_contents_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698