| Index: chrome/browser/ui/panels/extension_panel_originator.h
|
| ===================================================================
|
| --- chrome/browser/ui/panels/extension_panel_originator.h (revision 0)
|
| +++ chrome/browser/ui/panels/extension_panel_originator.h (revision 0)
|
| @@ -0,0 +1,35 @@
|
| +// 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_PANELS_EXTENSION_PANEL_ORIGINATOR_H_
|
| +#define CHROME_BROWSER_UI_PANELS_EXTENSION_PANEL_ORIGINATOR_H_
|
| +#pragma once
|
| +
|
| +#include "chrome/browser/ui/panels/panel_originator_delegate.h"
|
| +
|
| +#include "base/compiler_specific.h"
|
| +
|
| +class Extension;
|
| +class Profile;
|
| +
|
| +// An interface implemented by an object that initiates a panel, i.e. extension,
|
| +// to provide the information for display at about panel bubble.
|
| +class ExtensionPanelOriginator : public PanelOriginatorDelegate {
|
| + public:
|
| + ExtensionPanelOriginator(const Extension* extension, Profile* profile);
|
| + virtual ~ExtensionPanelOriginator() {}
|
| +
|
| + // Overridden from PanelOriginatorDelegate:
|
| + virtual std::string GetOriginatorName() const OVERRIDE;
|
| + virtual std::string GetOriginatorDescription() const OVERRIDE;
|
| + virtual base::Time GetOriginatorInstallTime() const OVERRIDE;
|
| +
|
| + private:
|
| + const Extension* extension_;
|
| + base::Time install_time_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ExtensionPanelOriginator);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_PANELS_EXTENSION_PANEL_ORIGINATOR_H_
|
|
|
| Property changes on: chrome\browser\ui\panels\extension_panel_originator.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|