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_INFOBAR_QUEUE_CONTROLLER_ANDROID_ H_ | |
| 6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_INFOBAR_QUEUE_CONTROLLER_ANDROID_ H_ | |
| 7 | |
| 8 #include "chrome/browser/geolocation/geolocation_infobar_queue_controller.h" | |
| 9 | |
| 10 // Android-specific geolocation infobar queue controller. As with | |
| 11 // GeolocationInfoBarQueueController, this class is owned by | |
| 12 // ChromeGeolocationPermissionContextAndroid. | |
| 13 class GeolocationInfoBarQueueControllerAndroid | |
| 14 : public GeolocationInfoBarQueueController { | |
|
bulach
2012/10/17 13:17:38
the queue controller class is pretty heavy weight
John Knottenbelt
2012/10/17 13:39:41
Thanks, Marcus - yes I agree, this sounds simpler
Ramya
2012/10/17 21:43:31
Done.
| |
| 15 | |
| 16 public: | |
| 17 explicit GeolocationInfoBarQueueControllerAndroid( | |
| 18 Profile* profile); | |
| 19 | |
| 20 private: | |
|
bulach
2012/10/17 13:17:38
nit:
// GeolocationInfoBarQueueController
| |
| 21 virtual GeolocationConfirmInfoBarDelegate* CreateInfoBarDelegate( | |
| 22 InfoBarTabHelper* infobar_helper, | |
| 23 GeolocationInfoBarQueueController* controller, | |
| 24 int render_process_id, | |
| 25 int render_view_id, | |
| 26 int bridge_id, | |
| 27 const GURL& requesting_frame_url, | |
| 28 const std::string& display_languages) OVERRIDE; | |
|
bulach
2012/10/17 13:17:38
nit:
\n
DISALLOW_COPY_AND_ASSIGN(GeolocationInfoB
| |
| 29 }; | |
| 30 | |
| 31 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_INFOBAR_QUEUE_CONTROLLER_ANDRO ID_H__ | |
| OLD | NEW |