| 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 <stddef.h> |   8 #include <stddef.h> | 
|   9  |   9  | 
|  10 #include <memory> |  10 #include <memory> | 
| (...skipping 30 matching lines...) Expand all  Loading... | 
|  41                               const AutocompleteMatch& match, |  41                               const AutocompleteMatch& match, | 
|  42                               const GURL& search_url); |  42                               const GURL& search_url); | 
|  43  |  43  | 
|  44   // Returns an alternate nav infobar that owns |delegate|. |  44   // Returns an alternate nav infobar that owns |delegate|. | 
|  45   static std::unique_ptr<infobars::InfoBar> CreateInfoBar( |  45   static std::unique_ptr<infobars::InfoBar> CreateInfoBar( | 
|  46       std::unique_ptr<AlternateNavInfoBarDelegate> delegate); |  46       std::unique_ptr<AlternateNavInfoBarDelegate> delegate); | 
|  47  |  47  | 
|  48   // InfoBarDelegate: |  48   // InfoBarDelegate: | 
|  49   Type GetInfoBarType() const override; |  49   Type GetInfoBarType() const override; | 
|  50   infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override; |  50   infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override; | 
|  51   gfx::VectorIconId GetVectorIconId() const override; |  51   const gfx::VectorIcon& GetVectorIcon() const override; | 
|  52  |  52  | 
|  53   Profile* profile_; |  53   Profile* profile_; | 
|  54   const base::string16 text_; |  54   const base::string16 text_; | 
|  55   const AutocompleteMatch match_; |  55   const AutocompleteMatch match_; | 
|  56   const GURL search_url_; |  56   const GURL search_url_; | 
|  57  |  57  | 
|  58   DISALLOW_COPY_AND_ASSIGN(AlternateNavInfoBarDelegate); |  58   DISALLOW_COPY_AND_ASSIGN(AlternateNavInfoBarDelegate); | 
|  59 }; |  59 }; | 
|  60  |  60  | 
|  61 #endif  // CHROME_BROWSER_UI_OMNIBOX_ALTERNATE_NAV_INFOBAR_DELEGATE_H_ |  61 #endif  // CHROME_BROWSER_UI_OMNIBOX_ALTERNATE_NAV_INFOBAR_DELEGATE_H_ | 
| OLD | NEW |