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

Unified Diff: chrome/browser/ui/views/infobars/infobar_view.h

Issue 240193003: Move Infobars core files to the Infobars component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nib name on mac Created 6 years, 8 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/views/infobars/infobar_view.h
diff --git a/chrome/browser/ui/views/infobars/infobar_view.h b/chrome/browser/ui/views/infobars/infobar_view.h
index 769b910f09405a5f7d448a07e99b1f6b56e1eb69..08b8abf33d4de64fe3d659f2225ee79e2c51c8e2 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.h
+++ b/chrome/browser/ui/views/infobars/infobar_view.h
@@ -7,8 +7,8 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-#include "chrome/browser/infobars/infobar.h"
-#include "chrome/browser/infobars/infobar_container.h"
+#include "components/infobars/core/infobar.h"
+#include "components/infobars/core/infobar_container.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/controls/menu/menu_item_view.h"
@@ -30,12 +30,12 @@ class MenuButtonListener;
class MenuRunner;
} // namespace views
-class InfoBarView : public InfoBar,
+class InfoBarView : public infobars::InfoBar,
public views::View,
public views::ButtonListener,
public views::ExternalFocusTracker {
public:
- explicit InfoBarView(scoped_ptr<InfoBarDelegate> delegate);
+ explicit InfoBarView(scoped_ptr<infobars::InfoBarDelegate> delegate);
const SkPath& fill_path() const { return fill_path_; }
const SkPath& stroke_path() const { return stroke_path_; }
@@ -101,7 +101,7 @@ class InfoBarView : public InfoBar,
int OffsetY(views::View* view) const;
// Convenience getter.
- const InfoBarContainer::Delegate* container_delegate() const;
+ const infobars::InfoBarContainer::Delegate* container_delegate() const;
// Shows a menu at the specified position.
// NOTE: This must not be called if we're unowned. (Subclasses should ignore
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_container_view.cc ('k') | chrome/browser/ui/views/infobars/infobar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698