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

Unified Diff: webkit/glue/chrome_client_impl.cc

Issue 212004: Implement WebKitTabToLinksPreferenceKey for the test_shell.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « no previous file | webkit/glue/webpreferences.h » ('j') | webkit/glue/webview.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/chrome_client_impl.cc
===================================================================
--- webkit/glue/chrome_client_impl.cc (revision 26446)
+++ webkit/glue/chrome_client_impl.cc (working copy)
@@ -414,11 +414,7 @@
}
bool ChromeClientImpl::tabsToLinks() const {
- // TODO(pamg): Consider controlling this with a user preference, when we have
- // a preference system in place.
- // For now Chrome will allow link to take focus if we're not running layout
- // tests.
- return !WebKit::layoutTestMode();
+ return webview_->GetTabsToLinks();
}
WebCore::IntRect ChromeClientImpl::windowResizerRect() const {
« no previous file with comments | « no previous file | webkit/glue/webpreferences.h » ('j') | webkit/glue/webview.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698