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

Unified Diff: chrome/browser/infobars/alternate_nav_infobar_delegate.h

Issue 11825005: Move alternate_nav_infobar_delegate.* from c/b/infobars/ to c/b/ui/omnibox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update chrome_browser_ui.gypi as well Created 7 years, 11 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/infobars/alternate_nav_infobar_delegate.h
diff --git a/chrome/browser/infobars/alternate_nav_infobar_delegate.h b/chrome/browser/infobars/alternate_nav_infobar_delegate.h
deleted file mode 100644
index b85f0e23f298396cfe82a064dc688ff9a3701fc8..0000000000000000000000000000000000000000
--- a/chrome/browser/infobars/alternate_nav_infobar_delegate.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_INFOBARS_ALTERNATE_NAV_INFOBAR_DELEGATE_H_
-#define CHROME_BROWSER_INFOBARS_ALTERNATE_NAV_INFOBAR_DELEGATE_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "chrome/browser/api/infobars/infobar_delegate.h"
-#include "googleurl/src/gurl.h"
-
-class AlternateNavInfoBarDelegate : public InfoBarDelegate {
- public:
- // Creates an alternate nav delegate and adds it to |infobar_service|.
- static void Create(InfoBarService* infobar_service,
- const GURL& alternate_nav_url);
-
- string16 GetMessageTextWithOffset(size_t* link_offset) const;
- string16 GetLinkText() const;
- bool LinkClicked(WindowOpenDisposition disposition);
-
- private:
- AlternateNavInfoBarDelegate(InfoBarService* owner,
- const GURL& alternate_nav_url);
- virtual ~AlternateNavInfoBarDelegate();
-
- // InfoBarDelegate:
- virtual InfoBar* CreateInfoBar(InfoBarService* owner) OVERRIDE;
- virtual gfx::Image* GetIcon() const OVERRIDE;
- virtual Type GetInfoBarType() const OVERRIDE;
- virtual AlternateNavInfoBarDelegate* AsAlternateNavInfoBarDelegate() OVERRIDE;
-
- GURL alternate_nav_url_;
-
- DISALLOW_COPY_AND_ASSIGN(AlternateNavInfoBarDelegate);
-};
-
-#endif // CHROME_BROWSER_INFOBARS_ALTERNATE_NAV_INFOBAR_DELEGATE_H_
« no previous file with comments | « chrome/browser/alternate_nav_url_fetcher.cc ('k') | chrome/browser/infobars/alternate_nav_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698