Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_ H_ | |
| 6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_ H_ | |
| 7 | |
| 8 #include "chrome/browser/geolocation/geolocation_confirm_infobar_delegate.h" | |
| 9 | |
| 10 class GeolocationConfirmInfoBarDelegateAndroid | |
| 11 : public GeolocationConfirmInfoBarDelegate { | |
| 12 public: | |
| 13 GeolocationConfirmInfoBarDelegateAndroid( | |
| 14 InfoBarTabHelper* infobar_helper, | |
| 15 GeolocationInfoBarQueueController* controller, | |
| 16 int render_process_id, | |
| 17 int render_view_id, | |
| 18 int bridge_id, | |
| 19 const GURL& requesting_frame_url, | |
| 20 const std::string& display_languages); | |
| 21 | |
| 22 private: | |
| 23 // ConfirmInfoBarDelegate: | |
| 24 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; | |
| 25 virtual bool Accept() OVERRIDE; | |
|
bulach
2012/10/17 13:17:38
Accept() seems unnecessary?
Ramya
2012/10/17 21:43:31
Done.
| |
| 26 }; | |
| 27 | |
| 28 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDRO ID_H_ | |
| OLD | NEW |