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

Unified Diff: chrome/browser/tab_contents/infobar.h

Issue 7006010: Change InfoBar-related notifications to be sourced from a TabContentsWrapper, not a TabContents. ... (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
Index: chrome/browser/tab_contents/infobar.h
===================================================================
--- chrome/browser/tab_contents/infobar.h (revision 87541)
+++ chrome/browser/tab_contents/infobar.h (working copy)
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#if defined(TOOLKIT_VIEWS) // TODO(pkasting): Port non-views to use this.
+
#ifndef CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_
#define CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_
#pragma once
@@ -115,3 +117,9 @@
};
#endif // CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_
+
+#elif defined(TOOLKIT_USES_GTK)
+#include "chrome/browser/ui/gtk/infobars/infobar_gtk.h"
+#elif defined(OS_MACOSX)
+#include "chrome/browser/ui/cocoa/infobars/infobar.h"
+#endif

Powered by Google App Engine
This is Rietveld 408576698