Index: chrome/browser/ui/panels/panel_originator_delegate.h |
=================================================================== |
--- chrome/browser/ui/panels/panel_originator_delegate.h (revision 0) |
+++ chrome/browser/ui/panels/panel_originator_delegate.h (revision 0) |
@@ -0,0 +1,24 @@ |
+// 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_PANEL_ORIGINATOR_DELEGATE_H_ |
+#define CHROME_BROWSER_UI_PANELS_PANEL_ORIGINATOR_DELEGATE_H_ |
+#pragma once |
+ |
+#include <string> |
+#include "base/basictypes.h" |
+#include "base/time.h" |
+ |
+// An interface implemented by an object that initiates a panel, i.e. extension, |
+// to provide the information for display at about panel bubble. |
+class PanelOriginatorDelegate { |
+ public: |
+ virtual ~PanelOriginatorDelegate() {} |
+ |
+ virtual std::string GetOriginatorName() const = 0; |
+ virtual std::string GetOriginatorDescription() const = 0; |
+ virtual base::Time GetOriginatorInstallTime() const = 0; |
+}; |
+ |
+#endif // CHROME_BROWSER_UI_PANELS_PANEL_ORIGINATOR_DELEGATE_H_ |
Property changes on: chrome\browser\ui\panels\panel_originator_delegate.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |