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

Side by Side Diff: chrome/browser/google/google_url_tracker_infobar_delegate.h

Issue 289083004: infobars: Componentize ConfirmInfoBarDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_GOOGLE_GOOGLE_URL_TRACKER_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_INFOBAR_DELEGATE_H_
7 7
8 #include "chrome/browser/infobars/confirm_infobar_delegate.h" 8 #include "components/infobars/core/confirm_infobar_delegate.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
11 class GoogleURLTracker; 11 class GoogleURLTracker;
12 class InfoBarService; 12 class InfoBarService;
13 13
14 // This infobar is shown by the GoogleURLTracker when the Google base URL has 14 // This infobar is shown by the GoogleURLTracker when the Google base URL has
15 // changed. 15 // changed.
16 class GoogleURLTrackerInfoBarDelegate : public ConfirmInfoBarDelegate { 16 class GoogleURLTrackerInfoBarDelegate : public ConfirmInfoBarDelegate {
17 public: 17 public:
18 // Creates a Google URL tracker infobar and delegate and adds the infobar to 18 // Creates a Google URL tracker infobar and delegate and adds the infobar to
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const NavigationDetails& details) const OVERRIDE; 50 const NavigationDetails& details) const OVERRIDE;
51 51
52 GoogleURLTracker* google_url_tracker_; 52 GoogleURLTracker* google_url_tracker_;
53 GURL search_url_; 53 GURL search_url_;
54 int pending_id_; 54 int pending_id_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerInfoBarDelegate); 56 DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerInfoBarDelegate);
57 }; 57 };
58 58
59 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_INFOBAR_DELEGATE_H_ 59 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/geolocation/geolocation_infobar_delegate.h ('k') | chrome/browser/gpu/three_d_api_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698