Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 1815563006: Remove [SG]etParentNativeViewAccessible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_plugin_quirks
Patch Set: rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 95eba77b507f81624165d512bcd98eeed94666e2..1081285e05fb8cd9436b5d9304b9d4976130ea10 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -317,9 +317,6 @@ WebContentsImpl::WebContentsImpl(BrowserContext* browser_context)
controller_(this, browser_context),
render_view_host_delegate_view_(NULL),
created_with_opener_(false),
-#if defined(OS_WIN)
- accessible_parent_(NULL),
-#endif
frame_tree_(new NavigatorImpl(&controller_, this),
this,
this,
@@ -919,16 +916,6 @@ bool WebContentsImpl::IsFullAccessibilityModeForTesting() const {
return accessibility_mode_ == AccessibilityModeComplete;
}
-#if defined(OS_WIN)
-void WebContentsImpl::SetParentNativeViewAccessible(
-gfx::NativeViewAccessible accessible_parent) {
- accessible_parent_ = accessible_parent;
- RenderFrameHostImpl* rfh = GetMainFrame();
- if (rfh)
- rfh->SetParentNativeViewAccessible(accessible_parent);
-}
-#endif
-
const PageImportanceSignals& WebContentsImpl::GetPageImportanceSignals() const {
return page_importance_signals_;
}
@@ -3917,12 +3904,6 @@ bool WebContentsImpl::IsNeverVisible() {
return delegate_->IsNeverVisible(this);
}
-#if defined(OS_WIN)
-gfx::NativeViewAccessible WebContentsImpl::GetParentNativeViewAccessible() {
- return accessible_parent_;
-}
-#endif
-
RenderViewHostDelegateView* WebContentsImpl::GetDelegateView() {
return render_view_host_delegate_view_;
}
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698