chrome: Support frameless document PiP window with draggable regions (fixes #3566)

This commit is contained in:
Marshall Greenblatt
2023-09-07 13:28:27 -04:00
parent b064ba08f3
commit ef6ae3071d
21 changed files with 581 additions and 128 deletions

View File

@@ -18,6 +18,7 @@
#include "ui/views/controls/webview/unhandled_keyboard_event_handler.h"
class CefBrowserHostBase;
class ChromeBrowserView;
class CefBrowserViewImpl
: public CefViewImpl<views::View, CefBrowserView, CefBrowserViewDelegate>,
@@ -79,6 +80,9 @@ class CefBrowserViewImpl
// Return the WebView representation of this object.
views::WebView* web_view() const;
// Return the CEF specialization of BrowserView.
ChromeBrowserView* chrome_browser_view() const;
private:
// Create a new implementation object.
// Always call Initialize() after creation.