Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index 8fd551c5782ace2c6569aa82bdef92e2642a8c22..031ed988986c93b395d7af8eb235560a7f2947a9 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -561,6 +561,24 @@ void WebLocalFrameImpl::setSharedWorkerRepositoryClient(WebSharedWorkerRepositor |
m_sharedWorkerRepositoryClient = SharedWorkerRepositoryClientImpl::create(client); |
} |
+void WebLocalFrameImpl::setAccessibilityEnabled(bool enabled) |
+{ |
+ if (!frame()) |
+ return; |
+ if (!frame()->settings()) |
+ return; |
+ frame()->settings()->setAccessibilityEnabled(enabled); |
+} |
+ |
+void WebLocalFrameImpl::setInlineTextBoxAccessibilityEnabled(bool enabled) |
+{ |
+ if (!frame()) |
+ return; |
+ if (!frame()->settings()) |
+ return; |
+ frame()->settings()->setInlineTextBoxAccessibilityEnabled(enabled); |
+} |
+ |
WebSize WebLocalFrameImpl::scrollOffset() const |
{ |
FrameView* view = frameView(); |