32187b87a883a5a6fd6475a293de67553c630f68
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / geolocation_permission_popup.h
1 // Copyright 2015 Samsung Electronics. 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 GeolocationPermissionPopup_h
6 #define GeolocationPermissionPopup_h
7
8 #include <string.h>
9
10 #include "permission_popup.h"
11 #include "private/ewk_geolocation_private.h"
12 #include "public/ewk_geolocation.h"
13
14 class GeolocationPermissionPopup : public PermissionPopup {
15  public:
16   GeolocationPermissionPopup(Ewk_Geolocation_Permission_Request* request,
17       const Ewk_Security_Origin* origin, const std::string& message);
18
19   virtual void SendDecidedPermission(Evas_Object* ewk_view, bool decide);
20
21  private:
22   Ewk_Geolocation_Permission_Request* request_;
23 };
24
25 #endif // GeolocationPermissionPopup_h