Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index 8fd551c5782ace2c6569aa82bdef92e2642a8c22..6b8797ba44897d745ca0582fe83c9ba13557d39c 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -561,6 +561,25 @@ 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; |
+ fprintf(stderr, "setting inline text box accessibility to %d\n", enabled); |
+ frame()->settings()->setInlineTextBoxAccessibilityEnabled(enabled); |
+} |
abarth-chromium
2014/08/23 05:59:11
These aren't needed.
aboxhall
2014/08/27 15:26:33
Done.
|
+ |
WebSize WebLocalFrameImpl::scrollOffset() const |
{ |
FrameView* view = frameView(); |