summaryrefslogtreecommitdiff
path: root/libcef/browser/views/view_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcef/browser/views/view_util.h')
-rw-r--r--libcef/browser/views/view_util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcef/browser/views/view_util.h b/libcef/browser/views/view_util.h
index 2a900061..50828da9 100644
--- a/libcef/browser/views/view_util.h
+++ b/libcef/browser/views/view_util.h
@@ -9,7 +9,6 @@
#include "include/views/cef_view.h"
#include "include/views/cef_window.h"
-#include "third_party/abseil-cpp/absl/types/optional.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/views/view.h"
@@ -29,6 +28,8 @@ class NativeWidgetDelegate;
}
} // namespace views
+class CefWindowDelegate;
+
#define CEF_REQUIRE_VALID_RETURN(ret) \
if (!ParentClass::IsValid()) \
return ret;
@@ -148,9 +149,8 @@ CefWindowHandle GetWindowHandle(gfx::NativeWindow window);
views::NativeWidget* CreateNativeWidget(
views::internal::NativeWidgetDelegate* delegate,
- bool is_frameless,
- bool with_window_buttons,
- absl::optional<float> title_bar_height);
+ CefRefPtr<CefWindow> window,
+ CefWindowDelegate* window_delegate);
} // namespace view_util