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

Unified Diff: chrome/browser/ui/gtk/infobars/alternate_nav_infobar_gtk.h

Issue 11721003: Eliminate the LinkInfoBar[Delegate] classes entirely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address some nits - testing-automation matters? Created 7 years, 12 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/gtk/infobars/alternate_nav_infobar_gtk.h
diff --git a/chrome/browser/ui/gtk/infobars/link_infobar_gtk.h b/chrome/browser/ui/gtk/infobars/alternate_nav_infobar_gtk.h
similarity index 38%
rename from chrome/browser/ui/gtk/infobars/link_infobar_gtk.h
rename to chrome/browser/ui/gtk/infobars/alternate_nav_infobar_gtk.h
index 34ae40375c7ac6dc46ad8589a98705ba34c875c9..1efc966deb9f25c3d23d6cbaf846648972a81cec 100644
--- a/chrome/browser/ui/gtk/infobars/link_infobar_gtk.h
+++ b/chrome/browser/ui/gtk/infobars/alternate_nav_infobar_gtk.h
@@ -2,28 +2,29 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_
-#define CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_
+#ifndef CHROME_BROWSER_UI_GTK_INFOBARS_ALTERNATE_NAV_INFOBAR_GTK_H_
+#define CHROME_BROWSER_UI_GTK_INFOBARS_ALTERNATE_NAV_INFOBAR_GTK_H_
#include "base/basictypes.h"
#include "chrome/browser/ui/gtk/infobars/infobar_gtk.h"
#include "ui/base/gtk/gtk_signal.h"
-class LinkInfoBarDelegate;
+class AlternateNavInfoBarDelegate;
// An infobar that shows a string with an embedded link.
-class LinkInfoBarGtk : public InfoBarGtk {
+class AlternateNavInfoBarGtk : public InfoBarGtk {
public:
- LinkInfoBarGtk(InfoBarService* owner, LinkInfoBarDelegate* delegate);
+ AlternateNavInfoBarGtk(InfoBarService* owner,
+ AlternateNavInfoBarDelegate* delegate);
private:
- virtual ~LinkInfoBarGtk();
+ virtual ~AlternateNavInfoBarGtk();
- CHROMEGTK_CALLBACK_0(LinkInfoBarGtk, void, OnLinkClicked);
+ CHROMEGTK_CALLBACK_0(AlternateNavInfoBarGtk, void, OnLinkClicked);
- LinkInfoBarDelegate* GetDelegate();
+ AlternateNavInfoBarDelegate* GetDelegate();
- DISALLOW_COPY_AND_ASSIGN(LinkInfoBarGtk);
+ DISALLOW_COPY_AND_ASSIGN(AlternateNavInfoBarGtk);
};
-#endif // CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_
+#endif // CHROME_BROWSER_UI_GTK_INFOBARS_ALTERNATE_NAV_INFOBAR_GTK_H_

Powered by Google App Engine
This is Rietveld 408576698