зеркало из https://github.com/electron/electron.git
refactor: remove unused InspectableWebContentsView::GetWebView() (#38799)
This commit is contained in:
Родитель
7219142a54
Коммит
41ab5f327f
|
@ -44,10 +44,6 @@ class InspectableWebContentsView {
|
|||
#if defined(TOOLKIT_VIEWS) && !BUILDFLAG(IS_MAC)
|
||||
// Returns the container control, which has devtools view attached.
|
||||
virtual views::View* GetView() = 0;
|
||||
|
||||
// Returns the web view control, which can be used by the
|
||||
// GetInitiallyFocusedView() to set initial focus to web view.
|
||||
virtual views::View* GetWebView() = 0;
|
||||
#else
|
||||
virtual gfx::NativeView GetNativeView() const = 0;
|
||||
#endif
|
||||
|
|
|
@ -108,10 +108,6 @@ views::View* InspectableWebContentsViewViews::GetView() {
|
|||
return this;
|
||||
}
|
||||
|
||||
views::View* InspectableWebContentsViewViews::GetWebView() {
|
||||
return contents_web_view_;
|
||||
}
|
||||
|
||||
void InspectableWebContentsViewViews::ShowDevTools(bool activate) {
|
||||
if (devtools_visible_)
|
||||
return;
|
||||
|
|
|
@ -31,7 +31,6 @@ class InspectableWebContentsViewViews : public InspectableWebContentsView,
|
|||
|
||||
// InspectableWebContentsView:
|
||||
views::View* GetView() override;
|
||||
views::View* GetWebView() override;
|
||||
void ShowDevTools(bool activate) override;
|
||||
void CloseDevTools() override;
|
||||
bool IsDevToolsViewShowing() override;
|
||||
|
|
Загрузка…
Ссылка в новой задаче