Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / geolocation / geolocation_infobar_delegate_android.h
blob3365656c4317acb1678b5067600010b6273a3330
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.
5 #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_INFOBAR_DELEGATE_ANDROID_H_
6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_INFOBAR_DELEGATE_ANDROID_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/geolocation/geolocation_infobar_delegate.h"
11 class GoogleLocationSettingsHelper;
13 class GeolocationInfoBarDelegateAndroid : public GeolocationInfoBarDelegate {
14 public:
15 GeolocationInfoBarDelegateAndroid(
16 PermissionQueueController* controller,
17 const PermissionRequestID& id,
18 const GURL& requesting_frame_url,
19 int contents_unique_id,
20 const std::string& display_languages);
22 private:
23 virtual ~GeolocationInfoBarDelegateAndroid();
25 // ConfirmInfoBarDelegate:
26 virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE;
27 virtual bool Accept() OVERRIDE;
29 scoped_ptr<GoogleLocationSettingsHelper> google_location_settings_helper_;
31 DISALLOW_COPY_AND_ASSIGN(GeolocationInfoBarDelegateAndroid);
34 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_INFOBAR_DELEGATE_ANDROID_H_