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

Side by Side Diff: chrome/browser/ui/gtk/infobars/link_infobar_gtk.h

Issue 10830353: Introduce InfoBarTabService API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments, merge to LKGR Created 8 years, 4 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/browser/ui/gtk/infobars/infobar_gtk.h" 9 #include "chrome/browser/ui/gtk/infobars/infobar_gtk.h"
10 #include "ui/base/gtk/gtk_signal.h" 10 #include "ui/base/gtk/gtk_signal.h"
11 11
12 class LinkInfoBarDelegate; 12 class LinkInfoBarDelegate;
13 class InfoBarTabHelper;
13 14
14 // An infobar that shows a string with an embedded link. 15 // An infobar that shows a string with an embedded link.
15 class LinkInfoBarGtk : public InfoBarGtk { 16 class LinkInfoBarGtk : public InfoBarGtk {
16 public: 17 public:
17 LinkInfoBarGtk(InfoBarTabHelper* owner, LinkInfoBarDelegate* delegate); 18 LinkInfoBarGtk(InfoBarTabHelper* owner, LinkInfoBarDelegate* delegate);
18 19
19 private: 20 private:
20 virtual ~LinkInfoBarGtk(); 21 virtual ~LinkInfoBarGtk();
21 22
22 CHROMEGTK_CALLBACK_0(LinkInfoBarGtk, void, OnLinkClicked); 23 CHROMEGTK_CALLBACK_0(LinkInfoBarGtk, void, OnLinkClicked);
23 24
24 LinkInfoBarDelegate* GetDelegate(); 25 LinkInfoBarDelegate* GetDelegate();
25 26
26 DISALLOW_COPY_AND_ASSIGN(LinkInfoBarGtk); 27 DISALLOW_COPY_AND_ASSIGN(LinkInfoBarGtk);
27 }; 28 };
28 29
29 #endif // CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_ 30 #endif // CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/infobars/infobar_gtk.cc ('k') | chrome/browser/ui/gtk/infobars/link_infobar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698