2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FWebCtrl_AuthConfirmPopup.h
20 * @brief The file contains the definition of _AuthConfirmPopup class.
23 #ifndef _FWEB_CTRL_INTERNAL_AUTH_CONFIRM_POPUP_H_
24 #define _FWEB_CTRL_INTERNAL_AUTH_CONFIRM_POPUP_H_
26 #include <unique_ptr.h>
27 #include <FBaseString.h>
28 #include "FWebCtrl_WebPopup.h"
30 namespace Tizen { namespace Ui
32 class IActionEventListener;
35 namespace Tizen { namespace Ui { namespace Controls
38 }}} // Tizen::Ui::Controls
40 namespace Tizen { namespace Web { namespace Controls
42 class AuthenticationChallenge;
45 enum _AuthPopupButtonId
47 ID_BUTTON_AUTH_PROCESS,
52 class _AuthConfirmPopup
60 _AuthConfirmPopup(void);
65 virtual ~_AuthConfirmPopup(void);
67 result Construct(const Tizen::Base::String& host, const Tizen::Base::String& realm, AuthenticationChallenge* pAuth);
69 virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
72 _AuthConfirmPopup(const _AuthConfirmPopup&);
74 _AuthConfirmPopup& operator =(const _AuthConfirmPopup&);
77 Tizen::Ui::Controls::EditField* __pIdEditField;
78 Tizen::Ui::Controls::EditField* __pPwdEditField;
79 AuthenticationChallenge* __pAuthHandler;
80 }; // _AuthConfirmPopup
82 }}} // Tizen::Web::Controls
83 #endif // _FWEB_CTRL_AUTH_COMMON_POPUP_H_