Skip to content

Commit c966a90

Browse files
authored
Add ChromeStatusBubble and ChromeZoomBubble (#5160)
1 parent 56d048c commit c966a90

File tree

4 files changed

+45
-1
lines changed

4 files changed

+45
-1
lines changed

CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//------------------------------------------------------------------------------
1+
//------------------------------------------------------------------------------
22
// <auto-generated>
33
// This code was generated by a tool.
44
// GenAPI Version: 5.0.2.37403
@@ -40,6 +40,8 @@ public BrowserSettings(bool autoDispose) { }
4040
public virtual CefSharp.CefState TabToLinks { get { throw null; } set { } }
4141
public virtual CefSharp.CefState TextAreaResize { get { throw null; } set { } }
4242
public virtual CefSharp.CefState WebGl { get { throw null; } set { } }
43+
public virtual CefSharp.CefState ChromeStatusBubble { get { throw null; } set { } }
44+
public virtual CefSharp.CefState ChromeZoomBubble { get { throw null; } set { } }
4345
public virtual int WindowlessFrameRate { get { throw null; } set { } }
4446
public void Dispose() { }
4547
protected virtual void Dispose(bool A_0) { }

CefSharp.Core.Runtime/BrowserSettings.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,24 @@ namespace CefSharp
300300
void set(CefState value) { _browserSettings->webgl = (cef_state_t)value; }
301301
}
302302

303+
/// <summary>
304+
/// Controls whether the Chrome status bubble will be used. Only supported with Chrome style.
305+
/// </summary>
306+
virtual property CefState ChromeStatusBubble
307+
{
308+
CefState get() { return (CefState)_browserSettings->chrome_status_bubble; }
309+
void set(CefState value) { _browserSettings->chrome_status_bubble = (cef_state_t)value; }
310+
}
311+
312+
/// <summary>
313+
/// Controls whether the Chrome zoom bubble will be shown when zooming. Only supported with Chrome style.
314+
/// </summary>
315+
virtual property CefState ChromeZoomBubble
316+
{
317+
CefState get() { return (CefState)_browserSettings->chrome_zoom_bubble; }
318+
void set(CefState value) { _browserSettings->chrome_zoom_bubble = (cef_state_t)value; }
319+
}
320+
303321
/// <summary>
304322
/// Background color used for the browser before a document is loaded and when no document color
305323
/// is specified. The alpha component must be either fully opaque (0xFF) or fully transparent (0x00).

CefSharp.Core/BrowserSettings.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,20 @@ public CefState WebGl
178178
set { settings.WebGl = value; }
179179
}
180180

181+
/// <inheritdoc/>
182+
public CefState ChromeStatusBubble
183+
{
184+
get { return settings.ChromeStatusBubble; }
185+
set { settings.ChromeStatusBubble = value; }
186+
}
187+
188+
/// <inheritdoc/>
189+
public CefState ChromeZoomBubble
190+
{
191+
get { return settings.ChromeZoomBubble; }
192+
set { settings.ChromeZoomBubble = value; }
193+
}
194+
181195
/// <inheritdoc/>
182196
public uint BackgroundColor
183197
{

CefSharp/IBrowserSettings.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,16 @@ public interface IBrowserSettings : IDisposable
146146
/// </summary>
147147
CefState WebGl { get; set; }
148148

149+
/// <summary>
150+
/// Controls whether the Chrome status bubble will be used. Only supported with Chrome style.
151+
/// </summary>
152+
CefState ChromeStatusBubble { get; set; }
153+
154+
/// <summary>
155+
/// Controls whether the Chrome zoom bubble will be shown when zooming. Only supported with Chrome style.
156+
/// </summary>
157+
CefState ChromeZoomBubble { get; set; }
158+
149159
/// <summary>
150160
/// Opaque background color used for the browser before a document is loaded
151161
/// and when no document color is specified. By default the background color

0 commit comments

Comments
 (0)