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

Unified Diff: chrome/browser/views/infobars/infobars.h

Issue 1037006: Finish implementing the geolocation infobar; adds a Learn more link pointing ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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
« no previous file with comments | « chrome/browser/tab_contents/infobar_delegate.h ('k') | chrome/browser/views/infobars/infobars.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/infobars/infobars.h
===================================================================
--- chrome/browser/views/infobars/infobars.h (revision 41849)
+++ chrome/browser/views/infobars/infobars.h (working copy)
@@ -186,11 +186,15 @@
DISALLOW_COPY_AND_ASSIGN(LinkInfoBar);
};
-class ConfirmInfoBar : public AlertInfoBar {
+class ConfirmInfoBar : public AlertInfoBar,
+ public views::LinkController {
public:
explicit ConfirmInfoBar(ConfirmInfoBarDelegate* delegate);
virtual ~ConfirmInfoBar();
+ // Overridden from views::LinkController:
+ virtual void LinkActivated(views::Link* source, int event_flags);
+
// Overridden from views::View:
virtual void Layout();
@@ -213,6 +217,7 @@
views::NativeButton* ok_button_;
views::NativeButton* cancel_button_;
+ views::Link* link_;
bool initialized_;
« no previous file with comments | « chrome/browser/tab_contents/infobar_delegate.h ('k') | chrome/browser/views/infobars/infobars.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698