OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_UI_OMNIBOX_ALTERNATE_NAV_INFOBAR_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_OMNIBOX_ALTERNATE_NAV_INFOBAR_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_OMNIBOX_ALTERNATE_NAV_INFOBAR_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_OMNIBOX_ALTERNATE_NAV_INFOBAR_DELEGATE_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "components/autocomplete/autocomplete_match.h" | |
10 #include "components/infobars/core/infobar_delegate.h" | 9 #include "components/infobars/core/infobar_delegate.h" |
| 10 #include "components/omnibox/autocomplete_match.h" |
11 | 11 |
12 class Profile; | 12 class Profile; |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 class WebContents; | 15 class WebContents; |
16 } | 16 } |
17 | 17 |
18 class AlternateNavInfoBarDelegate : public infobars::InfoBarDelegate { | 18 class AlternateNavInfoBarDelegate : public infobars::InfoBarDelegate { |
19 public: | 19 public: |
20 virtual ~AlternateNavInfoBarDelegate(); | 20 virtual ~AlternateNavInfoBarDelegate(); |
(...skipping 25 matching lines...) Expand all Loading... |
46 | 46 |
47 Profile* profile_; | 47 Profile* profile_; |
48 const base::string16 text_; | 48 const base::string16 text_; |
49 const AutocompleteMatch match_; | 49 const AutocompleteMatch match_; |
50 const GURL search_url_; | 50 const GURL search_url_; |
51 | 51 |
52 DISALLOW_COPY_AND_ASSIGN(AlternateNavInfoBarDelegate); | 52 DISALLOW_COPY_AND_ASSIGN(AlternateNavInfoBarDelegate); |
53 }; | 53 }; |
54 | 54 |
55 #endif // CHROME_BROWSER_UI_OMNIBOX_ALTERNATE_NAV_INFOBAR_DELEGATE_H_ | 55 #endif // CHROME_BROWSER_UI_OMNIBOX_ALTERNATE_NAV_INFOBAR_DELEGATE_H_ |
OLD | NEW |