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/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNetworkStateNotifi
er.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNetworkStateNotifi
er.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSettings.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSettings.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/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/public/common/unicode/uchar.h" |
16 #include "third_party/icu/public/common/unicode/uscript.h" | 16 #include "third_party/icu/public/common/unicode/uscript.h" |
17 #include "webkit/common/webpreferences.h" | 17 #include "webkit/common/webpreferences.h" |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 | 337 |
338 WebNetworkStateNotifier::setOnLine(prefs.is_online); | 338 WebNetworkStateNotifier::setOnLine(prefs.is_online); |
339 settings->setExperimentalWebSocketEnabled( | 339 settings->setExperimentalWebSocketEnabled( |
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 | 344 |
345 | 345 |
346 } // namespace webkit_glue | 346 } // namespace webkit_glue |
OLD | NEW |