File tree Expand file tree Collapse file tree 2 files changed +4
-43
lines changed Expand file tree Collapse file tree 2 files changed +4
-43
lines changed Original file line number Diff line number Diff line change @@ -61,24 +61,9 @@ namespace CefSharp
61
61
System::Nullable<int > get () { return _popupFeatures->heightSet ? _popupFeatures->height : Nullable<int >(); }
62
62
}
63
63
64
- virtual property bool MenuBarVisible
64
+ virtual property bool IsPopup
65
65
{
66
- bool get () { return _popupFeatures->menuBarVisible == 1 ; }
67
- }
68
-
69
- virtual property bool StatusBarVisible
70
- {
71
- bool get () { return _popupFeatures->statusBarVisible == 1 ; }
72
- }
73
-
74
- virtual property bool ToolBarVisible
75
- {
76
- bool get () { return _popupFeatures->toolBarVisible == 1 ; }
77
- }
78
-
79
- virtual property bool ScrollbarsVisible
80
- {
81
- bool get () { return _popupFeatures->scrollbarsVisible == 1 ; }
66
+ bool get () { return _popupFeatures->isPopup == 1 ; }
82
67
}
83
68
};
84
69
}
Original file line number Diff line number Diff line change @@ -38,32 +38,8 @@ public interface IPopupFeatures
38
38
/// </value>
39
39
int ? Height { get ; }
40
40
/// <summary>
41
- /// Gets a value indicating whether the menu bar is visible .
41
+ /// Returns true if browser interface elements should be hidden .
42
42
/// </summary>
43
- /// <value>
44
- /// True if menu bar visible, false if not.
45
- /// </value>
46
- bool MenuBarVisible { get ; }
47
- /// <summary>
48
- /// Gets a value indicating whether the status bar is visible.
49
- /// </summary>
50
- /// <value>
51
- /// True if status bar visible, false if not.
52
- /// </value>
53
- bool StatusBarVisible { get ; }
54
- /// <summary>
55
- /// Gets a value indicating whether the tool bar is visible.
56
- /// </summary>
57
- /// <value>
58
- /// True if tool bar visible, false if not.
59
- /// </value>
60
- bool ToolBarVisible { get ; }
61
- /// <summary>
62
- /// Gets a value indicating whether the scrollbars is visible.
63
- /// </summary>
64
- /// <value>
65
- /// True if scrollbars visible, false if not.
66
- /// </value>
67
- bool ScrollbarsVisible { get ; }
43
+ bool IsPopup { get ; }
68
44
}
69
45
}
You can’t perform that action at this time.
0 commit comments