2 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include <dali-toolkit/devel-api/controls/web-view-lite/web-view-lite.h>
22 #include <dali-toolkit/internal/controls/web-view-lite/web-view-lite-impl.h>
30 WebViewLite::WebViewLite()
34 WebViewLite::WebViewLite( const WebViewLite& webViewLite )
35 : Control( webViewLite )
39 WebViewLite& WebViewLite::operator=( const WebViewLite& webViewLite )
41 if( &webViewLite != this )
43 Control::operator=( webViewLite );
49 WebViewLite::~WebViewLite()
53 WebViewLite WebViewLite::New()
55 return Internal::WebViewLite::New();
58 WebViewLite WebViewLite::DownCast( BaseHandle handle )
60 return Control::DownCast< WebViewLite, Internal::WebViewLite >( handle );
63 void WebViewLite::CreateInstance(int width, int height, int windowX, int windowY, const std::string& locale, const std::string& timezoneID)
65 Dali::Toolkit::GetImpl( *this ).CreateInstance(width, height, windowX, windowY, locale, timezoneID);
68 void WebViewLite::DestroyInstance()
70 Dali::Toolkit::GetImpl( *this ).DestroyInstance();
73 void WebViewLite::LoadHtml(const std::string& path)
75 Dali::Toolkit::GetImpl( *this ).LoadHtml(path);
78 WebViewLite::WebViewLiteSignalType& WebViewLite::FinishedSignal()
80 return Dali::Toolkit::GetImpl( *this ).FinishedSignal();
83 WebViewLite::WebViewLite( Internal::WebViewLite& implementation )
84 : Control( implementation )
88 WebViewLite::WebViewLite( Dali::Internal::CustomActor* internal )
91 VerifyCustomActorPointer< Internal::WebViewLite >( internal );
94 } // namespace Toolkit