| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "webkit/renderer/webpreferences_renderer.h" | 5 #include "webkit/renderer/webpreferences_renderer.h" |
| 6 | 6 |
| 7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 8 #include "third_party/WebKit/public/web/WebKit.h" | 8 #include "third_party/WebKit/public/web/WebKit.h" |
| 9 #include "third_party/WebKit/public/web/WebNetworkStateNotifier.h" | 9 #include "third_party/WebKit/public/web/WebNetworkStateNotifier.h" |
| 10 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | 10 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" |
| 11 #include "third_party/WebKit/public/web/WebSettings.h" | 11 #include "third_party/WebKit/public/web/WebSettings.h" |
| 12 #include "third_party/WebKit/public/web/WebView.h" | 12 #include "third_party/WebKit/public/web/WebView.h" |
| 13 #include "third_party/WebKit/public/platform/WebString.h" | 13 #include "third_party/WebKit/public/platform/WebString.h" |
| 14 #include "third_party/WebKit/public/platform/WebURL.h" | 14 #include "third_party/WebKit/public/platform/WebURL.h" |
| 15 #include "third_party/icu/public/common/unicode/uchar.h" | 15 #include "third_party/icu/source/common/unicode/uchar.h" |
| 16 #include "third_party/icu/public/common/unicode/uscript.h" | 16 #include "third_party/icu/source/common/unicode/uscript.h" |
| 17 #include "webkit/common/webpreferences.h" | 17 #include "webkit/common/webpreferences.h" |
| 18 | 18 |
| 19 using WebKit::WebNetworkStateNotifier; | 19 using WebKit::WebNetworkStateNotifier; |
| 20 using WebKit::WebRuntimeFeatures; | 20 using WebKit::WebRuntimeFeatures; |
| 21 using WebKit::WebSettings; | 21 using WebKit::WebSettings; |
| 22 using WebKit::WebString; | 22 using WebKit::WebString; |
| 23 using WebKit::WebURL; | 23 using WebKit::WebURL; |
| 24 using WebKit::WebView; | 24 using WebKit::WebView; |
| 25 | 25 |
| 26 namespace { | 26 namespace { |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 prefs.experimental_websocket_enabled); | 340 prefs.experimental_websocket_enabled); |
| 341 settings->setPinchVirtualViewportEnabled( | 341 settings->setPinchVirtualViewportEnabled( |
| 342 prefs.pinch_virtual_viewport_enabled); | 342 prefs.pinch_virtual_viewport_enabled); |
| 343 | 343 |
| 344 settings->setPinchOverlayScrollbarThickness( | 344 settings->setPinchOverlayScrollbarThickness( |
| 345 prefs.pinch_overlay_scrollbar_thickness); | 345 prefs.pinch_overlay_scrollbar_thickness); |
| 346 } | 346 } |
| 347 | 347 |
| 348 | 348 |
| 349 } // namespace webkit_glue | 349 } // namespace webkit_glue |
| OLD | NEW |