summaryrefslogtreecommitdiff
path: root/chromium/ui/views/controls/webview
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/views/controls/webview')
-rw-r--r--chromium/ui/views/controls/webview/webview.cc8
-rw-r--r--chromium/ui/views/controls/webview/webview.h2
-rw-r--r--chromium/ui/views/controls/webview/webview_unittest.cc4
3 files changed, 2 insertions, 12 deletions
diff --git a/chromium/ui/views/controls/webview/webview.cc b/chromium/ui/views/controls/webview/webview.cc
index 7bef84b8c9e..0c523877565 100644
--- a/chromium/ui/views/controls/webview/webview.cc
+++ b/chromium/ui/views/controls/webview/webview.cc
@@ -331,14 +331,6 @@ void WebView::DidToggleFullscreenModeForTab(bool entered_fullscreen,
ReattachForFullscreenChange(entered_fullscreen);
}
-void WebView::DidAttachInterstitialPage() {
- NotifyAccessibilityWebContentsChanged();
-}
-
-void WebView::DidDetachInterstitialPage() {
- NotifyAccessibilityWebContentsChanged();
-}
-
void WebView::OnWebContentsFocused(
content::RenderWidgetHost* render_widget_host) {
RequestFocus();
diff --git a/chromium/ui/views/controls/webview/webview.h b/chromium/ui/views/controls/webview/webview.h
index 84d5cd520f7..624dcb1a4d8 100644
--- a/chromium/ui/views/controls/webview/webview.h
+++ b/chromium/ui/views/controls/webview/webview.h
@@ -149,8 +149,6 @@ class WEBVIEW_EXPORT WebView : public View,
void DidDestroyFullscreenWidget() override;
void DidToggleFullscreenModeForTab(bool entered_fullscreen,
bool will_cause_resize) override;
- void DidAttachInterstitialPage() override;
- void DidDetachInterstitialPage() override;
// Workaround for MSVC++ linker bug/feature that requires
// instantiation of the inline IPC::Listener methods in all translation units.
void OnChannelConnected(int32_t peer_id) override {}
diff --git a/chromium/ui/views/controls/webview/webview_unittest.cc b/chromium/ui/views/controls/webview/webview_unittest.cc
index 5bfd431308d..5c28d3091f8 100644
--- a/chromium/ui/views/controls/webview/webview_unittest.cc
+++ b/chromium/ui/views/controls/webview/webview_unittest.cc
@@ -159,8 +159,8 @@ class WebViewUnitTest : public views::test::WidgetTest {
// child.
top_level_widget_ = CreateTopLevelFramelessPlatformWidget();
top_level_widget_->SetBounds(gfx::Rect(0, 10, 100, 100));
- View* const contents_view = new View();
- top_level_widget_->SetContentsView(contents_view);
+ View* const contents_view =
+ top_level_widget_->SetContentsView(std::make_unique<View>());
web_view_ = new WebView(browser_context_.get());
web_view_->SetBoundsRect(gfx::Rect(contents_view->size()));
contents_view->AddChildView(web_view_);