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

Unified Diff: chrome/browser/ui/panels/extension_panel_originator.h

Issue 7011015: Show "About panel" bubble on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 7 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/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

Powered by Google App Engine
This is Rietveld 408576698