File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed
CefSharp.Core.Runtime.RefAssembly Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -329,6 +329,7 @@ public WindowInfo() { }
329329 public virtual int Width { get { throw null ; } set { } }
330330 public virtual System . IntPtr WindowHandle { get { throw null ; } set { } }
331331 public virtual bool WindowlessRenderingEnabled { get { throw null ; } set { } }
332+ public virtual string WindowName { get { throw null ; } set { } }
332333 public virtual int X { get { throw null ; } set { } }
333334 public virtual int Y { get { throw null ; } set { } }
334335 public void Dispose ( ) { }
Original file line number Diff line number Diff line change @@ -147,6 +147,18 @@ namespace CefSharp
147147 }
148148 }
149149
150+ virtual property String^ WindowName
151+ {
152+ String^ get ()
153+ {
154+ return StringUtils::ToClr (_windowInfo->window_name );
155+ }
156+ void set (String^ value)
157+ {
158+ StringUtils::AssignNativeFromClr (_windowInfo->window_name , value);
159+ }
160+ }
161+
150162 virtual property bool WindowlessRenderingEnabled
151163 {
152164 bool get ()
Original file line number Diff line number Diff line change @@ -91,6 +91,13 @@ public IntPtr WindowHandle
9191 set { windowInfo . WindowHandle = value ; }
9292 }
9393
94+ /// <inheritdoc/>
95+ public string WindowName
96+ {
97+ get { return windowInfo . WindowName ; }
98+ set { windowInfo . WindowName = value ; }
99+ }
100+
94101 /// <inheritdoc/>
95102 public void Dispose ( )
96103 {
Original file line number Diff line number Diff line change @@ -65,6 +65,10 @@ public interface IWindowInfo : IDisposable
6565 /// Handle for the new browser window. Only used with windowed rendering.
6666 /// </summary>
6767 IntPtr WindowHandle { get ; set ; }
68+ /// <summary>
69+ /// Window Name
70+ /// </summary>
71+ string WindowName { get ; set ; }
6872
6973 /// <summary>
7074 /// Create the browser as a child window.
You can’t perform that action at this time.
0 commit comments