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

Unified Diff: chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h

Issue 11188020: Introduce Android variants of ChromeGeolocationPermissionContext, GeolocationConfirmInfoBarDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix conflict Created 8 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h
diff --git a/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h b/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..6ef4a72bfc08db226c2f1cae71dd1f219348eb54
--- /dev/null
+++ b/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h
@@ -0,0 +1,31 @@
+// 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_INFOBAR_QUEUE_CONTROLLER_ANDROID_H_
+#define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_INFOBAR_QUEUE_CONTROLLER_ANDROID_H_
+
+#include "chrome/browser/geolocation/geolocation_infobar_queue_controller.h"
+
+// Android-specific geolocation infobar queue controller. As with
+// GeolocationInfoBarQueueController, this class is owned by
+// ChromeGeolocationPermissionContextAndroid.
+class GeolocationInfoBarQueueControllerAndroid
+ : 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.
+
+ public:
+ explicit GeolocationInfoBarQueueControllerAndroid(
+ Profile* profile);
+
+ private:
bulach 2012/10/17 13:17:38 nit: // GeolocationInfoBarQueueController
+ virtual GeolocationConfirmInfoBarDelegate* CreateInfoBarDelegate(
+ 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) OVERRIDE;
bulach 2012/10/17 13:17:38 nit: \n DISALLOW_COPY_AND_ASSIGN(GeolocationInfoB
+};
+
+#endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_INFOBAR_QUEUE_CONTROLLER_ANDROID_H__

Powered by Google App Engine
This is Rietveld 408576698