Home
last modified time | relevance | path

Searched refs:cef_delegate (Results 1 – 25 of 25) sorted by relevance

/third_party/cef/libcef/browser/views/
Dview_view.h39 explicit CefViewView(CefViewDelegateClass* cef_delegate, Args... args) in CefViewView() argument
40 : ParentClass(args...), cef_delegate_(cef_delegate) {} in CefViewView()
58 CefViewDelegateClass* cef_delegate() const { return cef_delegate_; } in cef_delegate() function
100 if (cef_delegate()) { in CalculatePreferredSize()
101 CefSize cef_size = cef_delegate()->GetPreferredSize(GetCefView()); in CalculatePreferredSize()
118 if (cef_delegate()) { in GetMinimumSize()
119 CefSize cef_size = cef_delegate()->GetMinimumSize(GetCefView()); in GetMinimumSize()
133 if (cef_delegate()) { in GetMaximumSize()
134 CefSize cef_size = cef_delegate()->GetMaximumSize(GetCefView()); in GetMaximumSize()
145 if (cef_delegate()) in GetHeightForWidth()
[all …]
Dtextfield_view.cc9 CefTextfieldView::CefTextfieldView(CefTextfieldDelegate* cef_delegate) in CefTextfieldView() argument
10 : ParentClass(cef_delegate) { in CefTextfieldView()
25 if (!cef_delegate()) in HandleKeyEvent()
32 return cef_delegate()->OnKeyEvent(GetCefTextfield(), cef_key_event); in HandleKeyEvent()
37 if (cef_delegate()) in OnAfterUserAction()
38 cef_delegate()->OnAfterUserAction(GetCefTextfield()); in OnAfterUserAction()
Dbutton_view.h33 explicit CefButtonView(CefViewDelegateClass* cef_delegate, Args... args) in CefButtonView() argument
34 : ParentClass(cef_delegate, args...) {} in CefButtonView()
54 if (ParentClass::cef_delegate()) in StateChanged()
55 ParentClass::cef_delegate()->OnButtonStateChanged(GetCefButton()); in StateChanged()
61 if (ParentClass::cef_delegate()) in ButtonPressed()
62 ParentClass::cef_delegate()->OnButtonPressed(GetCefButton()); in ButtonPressed()
Dmenu_button_view.cc31 CefMenuButtonView::CefMenuButtonView(CefMenuButtonDelegate* cef_delegate) in CefMenuButtonView() argument
32 : ParentClass(cef_delegate) { in CefMenuButtonView()
33 DCHECK(cef_delegate); in CefMenuButtonView()
58 cef_delegate()->OnMenuButtonPressed(GetCefMenuButton(), in ButtonPressed()
Dwindow_view.cc249 CefWindowView::CefWindowView(CefWindowDelegate* cef_delegate, in CefWindowView() argument
251 : ParentClass(cef_delegate), in CefWindowView()
276 if (cef_delegate()) { in CreateWidget()
278 is_frameless_ = cef_delegate()->IsFrameless(cef_window); in CreateWidget()
280 auto bounds = cef_delegate()->GetInitialBounds(cef_window); in CreateWidget()
283 SetCanResize(cef_delegate()->CanResize(cef_window)); in CreateWidget()
285 const auto show_state = cef_delegate()->GetInitialShowState(cef_window); in CreateWidget()
303 CefRefPtr<CefWindow> parent_window = cef_delegate()->GetParentWindow( in CreateWidget()
375 if (!cef_delegate()) in CanMinimize()
377 return cef_delegate()->CanMinimize(GetCefWindow()); in CanMinimize()
[all …]
Dbasic_panel_view.cc7 CefBasicPanelView::CefBasicPanelView(CefPanelDelegate* cef_delegate) in CefBasicPanelView() argument
8 : ParentClass(cef_delegate) {} in CefBasicPanelView()
Dbasic_label_button_view.cc8 CefButtonDelegate* cef_delegate) in CefBasicLabelButtonView() argument
9 : ParentClass(cef_delegate) {} in CefBasicLabelButtonView()
Dscroll_view_view.cc7 CefScrollViewView::CefScrollViewView(CefViewDelegate* cef_delegate) in CefScrollViewView() argument
8 : ParentClass(cef_delegate) {} in CefScrollViewView()
Dpanel_view.h30 explicit CefPanelView(CefViewDelegateClass* cef_delegate, Args... args) in CefPanelView() argument
31 : ParentClass(cef_delegate, args...) {} in CefPanelView()
Dbrowser_view_view.cc9 CefBrowserViewView::CefBrowserViewView(CefBrowserViewDelegate* cef_delegate, in CefBrowserViewView() argument
11 : ParentClass(cef_delegate), browser_view_delegate_(browser_view_delegate) { in CefBrowserViewView()
Dlabel_button_view.h29 explicit CefLabelButtonView(CefViewDelegateClass* cef_delegate, Args... args) in CefLabelButtonView() argument
30 : ParentClass(cef_delegate, args...) {} in CefLabelButtonView()
Dbasic_panel_view.h18 explicit CefBasicPanelView(CefPanelDelegate* cef_delegate);
Dscroll_view_view.h21 explicit CefScrollViewView(CefViewDelegate* cef_delegate);
Dbasic_label_button_view.h37 explicit CefBasicLabelButtonView(CefButtonDelegate* cef_delegate);
Dtextfield_view.h24 explicit CefTextfieldView(CefTextfieldDelegate* cef_delegate);
Dbrowser_view_view.h44 CefBrowserViewView(CefBrowserViewDelegate* cef_delegate,
Dmenu_button_view.h37 explicit CefMenuButtonView(CefMenuButtonDelegate* cef_delegate);
Dwindow_view.h48 CefWindowView(CefWindowDelegate* cef_delegate, Delegate* window_delegate);
/third_party/cef/libcef/browser/chrome/views/
Dchrome_browser_view.cc10 ChromeBrowserView::ChromeBrowserView(CefBrowserViewDelegate* cef_delegate, in ChromeBrowserView() argument
12 : ParentClass(cef_delegate), browser_view_delegate_(browser_view_delegate) { in ChromeBrowserView()
75 if (cef_delegate()) { in OverrideCreateToolbar()
76 auto toolbar_type = cef_delegate()->GetChromeToolbarType(); in OverrideCreateToolbar()
Dtoolbar_view_view.cc7 CefToolbarViewView::CefToolbarViewView(CefViewDelegate* cef_delegate, in CefToolbarViewView() argument
11 : ParentClass(cef_delegate, browser, browser_view, display_mode) {} in CefToolbarViewView()
Dtoolbar_view_view.h18 explicit CefToolbarViewView(CefViewDelegate* cef_delegate,
Dchrome_browser_view.h32 ChromeBrowserView(CefBrowserViewDelegate* cef_delegate,
/third_party/cef/patch/patches/
Dchrome_browser_browser.patch256 + cef::BrowserDelegate* cef_delegate() const {
305 + auto cef_delegate = params.browser->cef_delegate();
306 + if (cef_delegate) {
307 + cef_delegate->OnWebContentsCreated(target_contents.get());
/third_party/chromium/patch/
D0004-ohos-3.2-Beta5.patch33570 "src/cef_delegate/nweb_render_handler.h",
33571 "src/cef_delegate/nweb_resource_handler.cc",
33572 "src/cef_delegate/nweb_resource_handler.h",
33573 + "src/cef_delegate/nweb_select_popup_menu_callback.cc",
33574 + "src/cef_delegate/nweb_select_popup_menu_callback.h",
33575 "src/cef_delegate/nweb_touch_handle_state_impl.cc",
33576 "src/cef_delegate/nweb_touch_handle_state_impl.h",
33577 "src/cef_delegate/nweb_web_storage_delegate.cc",
34254 diff --git a/src/ohos_nweb/src/cef_delegate/nweb_application.cc b/src/ohos_nweb/src/cef_delegate/nw…
34256 --- a/src/ohos_nweb/src/cef_delegate/nweb_application.cc
[all …]
D0003-ohos-1115.patch56783 + "src/cef_delegate",
56823 + "src/cef_delegate/nweb_access_request_delegate.cc",
56824 + "src/cef_delegate/nweb_access_request_delegate.h",
56825 + "src/cef_delegate/nweb_application.cc",
56826 + "src/cef_delegate/nweb_application.h",
56827 + "src/cef_delegate/nweb_context_menu_params_impl.cc",
56828 + "src/cef_delegate/nweb_context_menu_params_impl.h",
56829 + "src/cef_delegate/nweb_controller_handler_impl.cc",
56830 + "src/cef_delegate/nweb_controller_handler_impl.h",
56831 + "src/cef_delegate/nweb_cookie_manager_delegate.cc",
[all …]