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_PromptPopup.h
20 * @brief The file contains the definition of _PromptPopup class.
22 #ifndef _FWEB_CTRL_PROMPT_POPUP_H_
23 #define _FWEB_CTRL_PROMPT_POPUP_H_
25 #include <unique_ptr.h>
26 #include <FBaseString.h>
27 #include "FWebCtrl_WebPopup.h"
29 namespace Tizen { namespace Ui { namespace Controls
32 }}} // Tizen::Ui::Controls
34 namespace Tizen { namespace Web { namespace Controls
37 enum _PromptPopupButtonId
39 ID_BUTTON_PROMPT_CANCEL,
57 virtual ~_PromptPopup(void);
59 result Construct(const Tizen::Base::String& message, const Tizen::Base::String& defaultValue, Evas_Object* pView);
61 const Tizen::Base::String GetPromptText(void);
63 virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
67 _PromptPopup(const _PromptPopup&);
69 _PromptPopup& operator =(const _PromptPopup&);
73 Tizen::Ui::Controls::EditField* __pEditField;
74 Evas_Object* __pWebView;
77 }}} // Tizen::Web::Controls
78 #endif // _FWEB_CTRL_PROMPT_POPUP_H_