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

Side by Side Diff: chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
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/infobars/core/infobar_delegate.h" 9 #include "components/infobars/core/infobar_delegate.h"
10 #include "components/omnibox/autocomplete_match.h" 10 #include "components/omnibox/autocomplete_match.h"
(...skipping 23 matching lines...) Expand all
34 AlternateNavInfoBarDelegate(Profile* profile, 34 AlternateNavInfoBarDelegate(Profile* profile,
35 const base::string16& text, 35 const base::string16& text,
36 const AutocompleteMatch& match, 36 const AutocompleteMatch& match,
37 const GURL& search_url); 37 const GURL& search_url);
38 38
39 // Returns an alternate nav infobar that owns |delegate|. 39 // Returns an alternate nav infobar that owns |delegate|.
40 static scoped_ptr<infobars::InfoBar> CreateInfoBar( 40 static scoped_ptr<infobars::InfoBar> CreateInfoBar(
41 scoped_ptr<AlternateNavInfoBarDelegate> delegate); 41 scoped_ptr<AlternateNavInfoBarDelegate> delegate);
42 42
43 // InfoBarDelegate: 43 // InfoBarDelegate:
44 virtual int GetIconID() const OVERRIDE; 44 virtual int GetIconID() const override;
45 virtual Type GetInfoBarType() const OVERRIDE; 45 virtual Type GetInfoBarType() const override;
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/network_profile_bubble.cc ('k') | chrome/browser/ui/omnibox/omnibox_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698