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

Side by Side Diff: chrome/browser/tab_contents/confirm_infobar_delegate.h

Issue 6989001: Misc. infobar stuff: (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
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_TAB_CONTENTS_CONFIRM_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_CONFIRM_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_CONFIRM_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_CONFIRM_INFOBAR_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // it. 53 // it.
54 // Will only be called if GetLinkText() returns non-empty string. 54 // Will only be called if GetLinkText() returns non-empty string.
55 virtual bool LinkClicked(WindowOpenDisposition disposition); 55 virtual bool LinkClicked(WindowOpenDisposition disposition);
56 56
57 protected: 57 protected:
58 explicit ConfirmInfoBarDelegate(TabContents* contents); 58 explicit ConfirmInfoBarDelegate(TabContents* contents);
59 virtual ~ConfirmInfoBarDelegate(); 59 virtual ~ConfirmInfoBarDelegate();
60 60
61 private: 61 private:
62 // InfoBarDelegate: 62 // InfoBarDelegate:
63 virtual InfoBar* CreateInfoBar() OVERRIDE; 63 virtual InfoBar* CreateInfoBar(TabContents* owner) OVERRIDE;
64 virtual bool EqualsDelegate(InfoBarDelegate* delegate) const OVERRIDE; 64 virtual bool EqualsDelegate(InfoBarDelegate* delegate) const OVERRIDE;
65 virtual ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate() OVERRIDE; 65 virtual ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate() OVERRIDE;
66 66
67 DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBarDelegate); 67 DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBarDelegate);
68 }; 68 };
69 69
70 #endif // CHROME_BROWSER_TAB_CONTENTS_CONFIRM_INFOBAR_DELEGATE_H_ 70 #endif // CHROME_BROWSER_TAB_CONTENTS_CONFIRM_INFOBAR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698