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

Unified Diff: chrome/browser/tab_contents/infobar.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_contents/confirm_infobar_delegate.h ('k') | chrome/browser/tab_contents/infobar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/infobar.h
===================================================================
--- chrome/browser/tab_contents/infobar.h (revision 84494)
+++ chrome/browser/tab_contents/infobar.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_INFOBAR_H_
-#define CHROME_BROWSER_UI_VIEWS_INFOBARS_INFOBAR_H_
+#ifndef CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_
+#define CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_
#pragma once
#include "base/basictypes.h"
@@ -13,6 +13,7 @@
class InfoBarContainer;
class InfoBarDelegate;
+class TabContentsWrapper;
namespace ui {
class SlideAnimation;
@@ -20,7 +21,7 @@
class InfoBar : public ui::AnimationDelegate {
public:
- explicit InfoBar(InfoBarDelegate* delegate);
+ InfoBar(TabContentsWrapper* owner, InfoBarDelegate* delegate);
virtual ~InfoBar();
// Platforms must define these.
@@ -96,6 +97,7 @@
// delete us) and closes the delegate.
void MaybeDelete();
+ TabContentsWrapper* owner_; // TODO(pkasting): Transition to using this.
InfoBarDelegate* delegate_;
InfoBarContainer* container_;
scoped_ptr<ui::SlideAnimation> animation_;
@@ -112,4 +114,4 @@
DISALLOW_COPY_AND_ASSIGN(InfoBar);
};
-#endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_INFOBAR_H_
+#endif // CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_
« no previous file with comments | « chrome/browser/tab_contents/confirm_infobar_delegate.h ('k') | chrome/browser/tab_contents/infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698