| OLD | NEW |
| 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_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_
H_ | 5 #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_
H_ |
| 6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_
H_ | 6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_
H_ |
| 7 | 7 |
| 8 #include "chrome/browser/geolocation/geolocation_confirm_infobar_delegate.h" | 8 #include "chrome/browser/geolocation/geolocation_confirm_infobar_delegate.h" |
| 9 | 9 |
| 10 class GeolocationConfirmInfoBarDelegateAndroid | 10 class GeolocationConfirmInfoBarDelegateAndroid |
| 11 : public GeolocationConfirmInfoBarDelegate { | 11 : public GeolocationConfirmInfoBarDelegate { |
| 12 public: | 12 public: |
| 13 GeolocationConfirmInfoBarDelegateAndroid( | 13 GeolocationConfirmInfoBarDelegateAndroid( |
| 14 InfoBarTabHelper* infobar_helper, | 14 InfoBarTabHelper* infobar_helper, |
| 15 GeolocationInfoBarQueueController* controller, | 15 GeolocationInfoBarQueueController* controller, |
| 16 int render_process_id, | 16 const content::GeolocationPermissionRequestID& id, |
| 17 int render_view_id, | |
| 18 int bridge_id, | |
| 19 const GURL& requesting_frame_url, | 17 const GURL& requesting_frame_url, |
| 20 const std::string& display_languages); | 18 const std::string& display_languages); |
| 21 | 19 |
| 22 private: | 20 private: |
| 23 // ConfirmInfoBarDelegate: | 21 // ConfirmInfoBarDelegate: |
| 24 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; | 22 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; |
| 25 }; | 23 }; |
| 26 | 24 |
| 27 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDRO
ID_H_ | 25 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDRO
ID_H_ |
| OLD | NEW |