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

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

Issue 7778032: Revert 98888 - Web Intent Picker UI (implemented as a constrained dialog, linux only) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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_constrained_dialog_factory.h
===================================================================
--- chrome/browser/ui/intents/web_intent_constrained_dialog_factory.h (revision 98890)
+++ chrome/browser/ui/intents/web_intent_constrained_dialog_factory.h (working copy)
@@ -1,40 +0,0 @@
-// 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_CONSTRAINED_DIALOG_FACTORY_H_
-#define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_CONSTRAINED_DIALOG_FACTORY_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "chrome/browser/ui/intents/web_intent_picker_factory.h"
-
-class TabContents;
-class WebIntentPickerDelegate;
-
-// A factory for creating a constrained dialog as the intent picker UI for a
-// given TabContents.
-class WebIntentConstrainedDialogFactory : public WebIntentPickerFactory {
- public:
- WebIntentConstrainedDialogFactory();
- virtual ~WebIntentConstrainedDialogFactory();
-
- // WebIntentPickerFactory implementation.
- virtual WebIntentPicker* Create(
- TabContents* tab_contents,
- WebIntentPickerDelegate* delegate) OVERRIDE;
- virtual void ClosePicker(WebIntentPicker* picker) OVERRIDE;
-
- private:
- // Closes the dialog and destroys it.
- void CloseDialog();
-
- // A weak pointer to the currently active picker, or NULL if there is no
- // active picker.
- WebIntentPicker* picker_;
-
- DISALLOW_COPY_AND_ASSIGN(WebIntentConstrainedDialogFactory);
-};
-
-#endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_CONSTRAINED_DIALOG_FACTORY_H_
« no previous file with comments | « chrome/browser/ui/gtk/web_intent_picker_gtk.cc ('k') | chrome/browser/ui/intents/web_intent_constrained_dialog_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698