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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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_EXTENSION_PANEL_ORIGINATOR_H_
6 #define CHROME_BROWSER_UI_PANELS_EXTENSION_PANEL_ORIGINATOR_H_
7 #pragma once
8
9 #include "chrome/browser/ui/panels/panel_originator_delegate.h"
10
11 #include "base/compiler_specific.h"
12
13 class Extension;
14 class Profile;
15
16 // An interface implemented by an object that initiates a panel, i.e. extension,
17 // to provide the information for display at about panel bubble.
18 class ExtensionPanelOriginator : public PanelOriginatorDelegate {
19 public:
20 ExtensionPanelOriginator(const Extension* extension, Profile* profile);
21 virtual ~ExtensionPanelOriginator() {}
22
23 // Overridden from PanelOriginatorDelegate:
24 virtual std::string GetOriginatorName() const OVERRIDE;
25 virtual std::string GetOriginatorDescription() const OVERRIDE;
26 virtual base::Time GetOriginatorInstallTime() const OVERRIDE;
27
28 private:
29 const Extension* extension_;
30 base::Time install_time_;
31
32 DISALLOW_COPY_AND_ASSIGN(ExtensionPanelOriginator);
33 };
34
35 #endif // CHROME_BROWSER_UI_PANELS_EXTENSION_PANEL_ORIGINATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698