diff options
author | piman <piman@chromium.org> | 2016-03-22 22:35:50 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-23 05:37:49 +0000 |
commit | 45cf0b58103c62895d4e4c8223e798bf84a42345 (patch) | |
tree | bbefec340b7923f7e95cf33f16985bc55c05a303 /content/public | |
parent | 75c4422d8fdabd231f40a6c9235f4512f0170268 (diff) | |
download | chromium_src-45cf0b58103c62895d4e4c8223e798bf84a42345.zip chromium_src-45cf0b58103c62895d4e4c8223e798bf84a42345.tar.gz chromium_src-45cf0b58103c62895d4e4c8223e798bf84a42345.tar.bz2 |
Remove [SG]etParentNativeViewAccessible
It's dead code:
1- RenderWidgetHostImpl::GetParentNativeViewAccessible is never called, so by
extension all the RenderWidgetHostDelegate implmentations are not called
2- Because of 1, WebContentsImpl::accessible_parent_ is set but never used, so
can be removed
3- All the RenderWidgetHostView*::SetParentNativeViewAccessible are trivial and
can be removed
4- Because of 2 and 3, WebContentsImpl::SetParentNativeViewAccessible does
nothing any more, can be removed.
BUG=None
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Review URL: https://codereview.chromium.org/1815563006
Cr-Commit-Position: refs/heads/master@{#382796}
Diffstat (limited to 'content/public')
-rw-r--r-- | content/public/browser/web_contents.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h index 9dd14bf..26588f0 100644 --- a/content/public/browser/web_contents.h +++ b/content/public/browser/web_contents.h @@ -288,11 +288,6 @@ class WebContents : public PageNavigator, // both renderer accessibility, and a native browser accessibility tree. virtual bool IsFullAccessibilityModeForTesting() const = 0; -#if defined(OS_WIN) - virtual void SetParentNativeViewAccessible( - gfx::NativeViewAccessible accessible_parent) = 0; -#endif - virtual const PageImportanceSignals& GetPageImportanceSignals() const = 0; // Tab navigation state ------------------------------------------------------ |