Merge remote-tracking branch 'origin/master' into tizen
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / WebView / WebViewPageLoadEventArgs.cs
1 /*
2  * Copyright (c) 2019 Samsung Electronics Co., Ltd.
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18 using System;
19 using System.ComponentModel;
20 using Tizen.NUI.BaseComponents;
21
22 namespace Tizen.NUI
23 {
24     /// <summary>
25     /// Event arguments that passed via the WebView.PageLoadStarted or WebView.PageLoadFinished.
26     /// </summary>
27     [EditorBrowsable(EditorBrowsableState.Never)]
28     public class WebViewPageLoadEventArgs : EventArgs
29     {
30         private WebView _webView;
31         private string _pageUrl;
32
33         /// <summary>
34         /// The view for displaying webpages.
35         /// </summary>
36         [EditorBrowsable(EditorBrowsableState.Never)]
37         public WebView WebView
38         {
39             get
40             {
41                 return _webView;
42             }
43             set
44             {
45                 _webView = value;
46             }
47         }
48
49         /// <summary>
50         /// The url string of current webpage.
51         /// </summary>
52         [EditorBrowsable(EditorBrowsableState.Never)]
53         public string PageUrl
54         {
55             get
56             {
57                 return _pageUrl;
58             }
59             set
60             {
61                 _pageUrl = value;
62             }
63         }
64     }
65 }