summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_impl.cc
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-17 22:24:48 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-17 22:24:48 +0000
commit3d6202584c5fe55c54a07feeb240f4bdc442aad4 (patch)
tree0203a8e780103f85edffe127e1d247503a443b70 /webkit/glue/webview_impl.cc
parent018a396fc1650116ecc1df0ad7e5b65ec5ad7bec (diff)
downloadchromium_src-3d6202584c5fe55c54a07feeb240f4bdc442aad4.zip
chromium_src-3d6202584c5fe55c54a07feeb240f4bdc442aad4.tar.gz
chromium_src-3d6202584c5fe55c54a07feeb240f4bdc442aad4.tar.bz2
Implement WebKitTabToLinksPreferenceKey for the test_shell.
BUG=21267 TEST=Run layout tests Review URL: http://codereview.chromium.org/212004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26508 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_impl.cc')
-rw-r--r--webkit/glue/webview_impl.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc
index 419ca4b..a90d162 100644
--- a/webkit/glue/webview_impl.cc
+++ b/webkit/glue/webview_impl.cc
@@ -1935,3 +1935,11 @@ void WebViewImpl::SetSpellingPanelVisibility(bool is_visible) {
bool WebViewImpl::GetSpellingPanelVisibility() {
return spelling_panel_is_visible_;
}
+
+void WebViewImpl::SetTabsToLinks(bool enable) {
+ tabs_to_links_ = enable;
+}
+
+bool WebViewImpl::GetTabsToLinks() const {
+ return tabs_to_links_;
+} \ No newline at end of file