mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
chrome: Support usage of the Chrome toolbar from Views (see issue #2969)
This commit is contained in:
@ -28,8 +28,9 @@ CEF_BUTTON_VIEW_T class CefButtonView : public CEF_VIEW_VIEW_D {
|
||||
typedef CEF_VIEW_VIEW_D ParentClass;
|
||||
|
||||
// |cef_delegate| may be nullptr.
|
||||
explicit CefButtonView(CefViewDelegateClass* cef_delegate)
|
||||
: ParentClass(cef_delegate) {}
|
||||
template <typename... Args>
|
||||
explicit CefButtonView(CefViewDelegateClass* cef_delegate, Args... args)
|
||||
: ParentClass(cef_delegate, args...) {}
|
||||
|
||||
// Returns the CefButton associated with this view. See comments on
|
||||
// CefViewView::GetCefView.
|
||||
|
Reference in New Issue
Block a user