diff options
Diffstat (limited to 'src/controls/FWebCtrl_IWebEventListener.h')
-rw-r--r-- | src/controls/FWebCtrl_IWebEventListener.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src/controls/FWebCtrl_IWebEventListener.h b/src/controls/FWebCtrl_IWebEventListener.h new file mode 100644 index 0000000..23e723b --- /dev/null +++ b/src/controls/FWebCtrl_IWebEventListener.h @@ -0,0 +1,54 @@ +// +// Open Service Platform +// Copyright (c) 2012 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the License); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + +/** + * @file FWebCtrl_WebEvent.h + * @brief This is the header file for the _WebEvent class. + * + * This file contains the declarations of _WebEvent. + */ +#ifndef _FWEB_CTRL_INTERNAL_IWEB_EVENT_LISTENER_H_ +#define _FWEB_CTRL_INTERNAL_IWEB_EVENT_LISTENER_H_ + +#include <FBaseRtIEventListener.h> +#include <FBaseRtIEventArg.h> + +namespace Tizen { namespace Web { namespace Controls +{ + +/** + * @class _WebEventListener + * @brief This class methods for handling events delivered to Web control + * + */ +class _IWebEventListener + : public Tizen::Base::Runtime::IEventListener +{ +public: + virtual ~_IWebEventListener(void) {}; + + virtual result LaunchAppControl(const Tizen::Base::Runtime::IEventArg& arg) = 0; + virtual result OnHandleJavaScriptRequestByEventArg(const Tizen::Base::Runtime::IEventArg& arg) = 0; + virtual result OnHandleLoadingEvent(const Tizen::Base::Runtime::IEventArg& arg) = 0; + virtual result OnHandleWebDownloadEvent(const Tizen::Base::Runtime::IEventArg& arg) = 0; + virtual result OnHandleWebUiEvent(const Tizen::Base::Runtime::IEventArg& arg) = 0; + virtual result OnHandleTextSearchEvent(const Tizen::Base::Runtime::IEventArg& arg) = 0; + +}; // _IWebEventListener + +}}} // Tizen::Web::Controls +#endif // _FWEB_CTRL_INTERNAL_IWEB_EVENT_LISTENER_H_ |