Skip to content

Commit

Permalink
refactor: remove unused InspectableWebContentsView::GetWebView() (#38821
Browse files Browse the repository at this point in the history
)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
  • Loading branch information
trop[bot] and ckerr committed Jun 16, 2023
1 parent c5e5b13 commit 11c6f1f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions shell/browser/ui/inspectable_web_contents_view.h
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions shell/browser/ui/views/inspectable_web_contents_view_views.cc
Expand Up @@ -109,10 +109,6 @@ views::View* InspectableWebContentsViewViews::GetView() {
return this;
}

views::View* InspectableWebContentsViewViews::GetWebView() {
return contents_web_view_;
}

void InspectableWebContentsViewViews::ShowDevTools(bool activate) {
if (devtools_visible_)
return;
Expand Down
Expand Up @@ -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;
Expand Down

0 comments on commit 11c6f1f

Please sign in to comment.