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

Side by Side Diff: chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h

Issue 11269002: Introduce GeolocationPermissionRequestID, a wrapper struct to contain the (render process ID, rende… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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_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 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698