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

Unified Diff: chrome/browser/ui/intents/web_intent_picker_factory_impl.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, 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/intents/web_intent_picker_factory_impl.h
diff --git a/chrome/browser/ui/intents/web_intent_picker_factory_impl.h b/chrome/browser/ui/intents/web_intent_picker_factory_impl.h
deleted file mode 100644
index 9e06f996c71aff9502e0b55f7673628300016a51..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/intents/web_intent_picker_factory_impl.h
+++ /dev/null
@@ -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_PICKER_FACTORY_IMPL_H_
-#define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_FACTORY_IMPL_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 the web intent picker UI.
-class WebIntentPickerFactoryImpl : public WebIntentPickerFactory {
- public:
- WebIntentPickerFactoryImpl();
- virtual ~WebIntentPickerFactoryImpl();
-
- // WebIntentPickerFactory implementation.
- virtual WebIntentPicker* Create(
- Browser* browser,
- TabContentsWrapper* wrapper,
- WebIntentPickerDelegate* delegate) OVERRIDE;
- virtual void ClosePicker(WebIntentPicker* picker) OVERRIDE;
-
- private:
- // Close the picker and destroys it.
- void Close();
-
- // A weak pointer to the currently active picker, or NULL if there is no
- // active picker.
- WebIntentPicker* picker_;
-
- DISALLOW_COPY_AND_ASSIGN(WebIntentPickerFactoryImpl);
-};
-
-#endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_FACTORY_IMPL_H_
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_factory.h ('k') | chrome/browser/ui/intents/web_intent_picker_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698