Chromium Code Reviews| Index: chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h |
| diff --git a/chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h b/chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..efcf459bf0bb70b7c2bcaad1917e5a41a5c097e3 |
| --- /dev/null |
| +++ b/chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_H_ |
| +#define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_H_ |
| + |
| +#include "chrome/browser/geolocation/geolocation_confirm_infobar_delegate.h" |
| + |
| +class GeolocationConfirmInfoBarDelegateAndroid |
| + : public GeolocationConfirmInfoBarDelegate { |
| + public: |
| + GeolocationConfirmInfoBarDelegateAndroid( |
| + InfoBarTabHelper* infobar_helper, |
| + GeolocationInfoBarQueueController* controller, |
| + int render_process_id, |
| + int render_view_id, |
| + int bridge_id, |
| + const GURL& requesting_frame_url, |
| + const std::string& display_languages); |
| + |
| + private: |
| + // ConfirmInfoBarDelegate: |
| + virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; |
| + virtual bool Accept() OVERRIDE; |
|
bulach
2012/10/17 13:17:38
Accept() seems unnecessary?
Ramya
2012/10/17 21:43:31
Done.
|
| +}; |
| + |
| +#endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_H_ |