• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
2 // reserved. Use of this source code is governed by a BSD-style license that
3 // can be found in the LICENSE file.
4 //
5 // ---------------------------------------------------------------------------
6 //
7 // This file was generated by the CEF translator tool. If making changes by
8 // hand only do so within the body of existing method and function
9 // implementations. See the translator.README.txt file in the tools directory
10 // for more information.
11 //
12 // $hash=892496158fbb51c0534dfbdfd4597daef6b21da7$
13 //
14 
15 #include "include/views/cef_browser_view.h"
16 #include "include/views/cef_display.h"
17 #include "include/views/cef_label_button.h"
18 #include "include/views/cef_menu_button.h"
19 #include "include/views/cef_panel.h"
20 #include "include/views/cef_scroll_view.h"
21 #include "include/views/cef_textfield.h"
22 #include "include/views/cef_window.h"
23 
24 #include "base/logging.h"
25 #include "base/notreached.h"
26 
27 // STATIC STUB METHODS - Do not edit by hand.
28 
29 NO_SANITIZE("cfi-icall")
CreateBrowserView(CefRefPtr<CefClient> client,const CefString & url,const CefBrowserSettings & settings,CefRefPtr<CefDictionaryValue> extra_info,CefRefPtr<CefRequestContext> request_context,CefRefPtr<CefBrowserViewDelegate> delegate)30 CefRefPtr<CefBrowserView> CefBrowserView::CreateBrowserView(
31     CefRefPtr<CefClient> client,
32     const CefString& url,
33     const CefBrowserSettings& settings,
34     CefRefPtr<CefDictionaryValue> extra_info,
35     CefRefPtr<CefRequestContext> request_context,
36     CefRefPtr<CefBrowserViewDelegate> delegate) {
37   NOTIMPLEMENTED();
38   return nullptr;
39 }
40 
41 NO_SANITIZE("cfi-icall")
GetForBrowser(CefRefPtr<CefBrowser> browser)42 CefRefPtr<CefBrowserView> CefBrowserView::GetForBrowser(
43     CefRefPtr<CefBrowser> browser) {
44   NOTIMPLEMENTED();
45   return nullptr;
46 }
47 
GetPrimaryDisplay()48 NO_SANITIZE("cfi-icall") CefRefPtr<CefDisplay> CefDisplay::GetPrimaryDisplay() {
49   NOTIMPLEMENTED();
50   return nullptr;
51 }
52 
53 NO_SANITIZE("cfi-icall")
GetDisplayNearestPoint(const CefPoint & point,bool input_pixel_coords)54 CefRefPtr<CefDisplay> CefDisplay::GetDisplayNearestPoint(
55     const CefPoint& point,
56     bool input_pixel_coords) {
57   NOTIMPLEMENTED();
58   return nullptr;
59 }
60 
61 NO_SANITIZE("cfi-icall")
GetDisplayMatchingBounds(const CefRect & bounds,bool input_pixel_coords)62 CefRefPtr<CefDisplay> CefDisplay::GetDisplayMatchingBounds(
63     const CefRect& bounds,
64     bool input_pixel_coords) {
65   NOTIMPLEMENTED();
66   return nullptr;
67 }
68 
GetDisplayCount()69 NO_SANITIZE("cfi-icall") size_t CefDisplay::GetDisplayCount() {
70   NOTIMPLEMENTED();
71   return 0;
72 }
73 
74 NO_SANITIZE("cfi-icall")
GetAllDisplays(std::vector<CefRefPtr<CefDisplay>> & displays)75 void CefDisplay::GetAllDisplays(std::vector<CefRefPtr<CefDisplay>>& displays) {
76   NOTIMPLEMENTED();
77 }
78 
79 NO_SANITIZE("cfi-icall")
CreateLabelButton(CefRefPtr<CefButtonDelegate> delegate,const CefString & text)80 CefRefPtr<CefLabelButton> CefLabelButton::CreateLabelButton(
81     CefRefPtr<CefButtonDelegate> delegate,
82     const CefString& text) {
83   NOTIMPLEMENTED();
84   return nullptr;
85 }
86 
87 NO_SANITIZE("cfi-icall")
CreateMenuButton(CefRefPtr<CefMenuButtonDelegate> delegate,const CefString & text)88 CefRefPtr<CefMenuButton> CefMenuButton::CreateMenuButton(
89     CefRefPtr<CefMenuButtonDelegate> delegate,
90     const CefString& text) {
91   NOTIMPLEMENTED();
92   return nullptr;
93 }
94 
95 NO_SANITIZE("cfi-icall")
CreatePanel(CefRefPtr<CefPanelDelegate> delegate)96 CefRefPtr<CefPanel> CefPanel::CreatePanel(
97     CefRefPtr<CefPanelDelegate> delegate) {
98   NOTIMPLEMENTED();
99   return nullptr;
100 }
101 
102 NO_SANITIZE("cfi-icall")
CreateScrollView(CefRefPtr<CefViewDelegate> delegate)103 CefRefPtr<CefScrollView> CefScrollView::CreateScrollView(
104     CefRefPtr<CefViewDelegate> delegate) {
105   NOTIMPLEMENTED();
106   return nullptr;
107 }
108 
109 NO_SANITIZE("cfi-icall")
CreateTextfield(CefRefPtr<CefTextfieldDelegate> delegate)110 CefRefPtr<CefTextfield> CefTextfield::CreateTextfield(
111     CefRefPtr<CefTextfieldDelegate> delegate) {
112   NOTIMPLEMENTED();
113   return nullptr;
114 }
115 
116 NO_SANITIZE("cfi-icall")
CreateTopLevelWindow(CefRefPtr<CefWindowDelegate> delegate)117 CefRefPtr<CefWindow> CefWindow::CreateTopLevelWindow(
118     CefRefPtr<CefWindowDelegate> delegate) {
119   NOTIMPLEMENTED();
120   return nullptr;
121 }
122