| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/html_viewer/layout_test_blink_settings_impl.h" | 5 #include "components/html_viewer/layout_test_blink_settings_impl.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "build/build_config.h" |
| 9 #include "components/html_viewer/web_preferences.h" | 10 #include "components/html_viewer/web_preferences.h" |
| 10 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | 11 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" |
| 11 | 12 |
| 12 #if defined(OS_WIN) | 13 #if defined(OS_WIN) |
| 13 #include "ui/gfx/win/dpi.h" | 14 #include "ui/gfx/win/dpi.h" |
| 14 #endif | 15 #endif |
| 15 | 16 |
| 16 namespace html_viewer { | 17 namespace html_viewer { |
| 17 | 18 |
| 18 namespace { | 19 namespace { |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 | 94 |
| 94 blink::WebRuntimeFeatures::enableExperimentalFeatures(true); | 95 blink::WebRuntimeFeatures::enableExperimentalFeatures(true); |
| 95 blink::WebRuntimeFeatures::enableTestOnlyFeatures(true); | 96 blink::WebRuntimeFeatures::enableTestOnlyFeatures(true); |
| 96 | 97 |
| 97 #if defined(OS_WIN) | 98 #if defined(OS_WIN) |
| 98 gfx::SetDefaultDeviceScaleFactor(1.0f); | 99 gfx::SetDefaultDeviceScaleFactor(1.0f); |
| 99 #endif | 100 #endif |
| 100 } | 101 } |
| 101 | 102 |
| 102 } // namespace html_viewer | 103 } // namespace html_viewer |
| OLD | NEW |