OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_ORIGINATOR_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_PANELS_PANEL_ORIGINATOR_DELEGATE_H_ |
| 7 #pragma once |
| 8 |
| 9 #include <string> |
| 10 #include "base/basictypes.h" |
| 11 #include "base/time.h" |
| 12 |
| 13 // An interface implemented by an object that initiates a panel, i.e. extension, |
| 14 // to provide the information for display at about panel bubble. |
| 15 class PanelOriginatorDelegate { |
| 16 public: |
| 17 virtual ~PanelOriginatorDelegate() {} |
| 18 |
| 19 virtual std::string GetOriginatorName() const = 0; |
| 20 virtual std::string GetOriginatorDescription() const = 0; |
| 21 virtual base::Time GetOriginatorInstallTime() const = 0; |
| 22 }; |
| 23 |
| 24 #endif // CHROME_BROWSER_UI_PANELS_PANEL_ORIGINATOR_DELEGATE_H_ |
OLD | NEW |