| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_HTML_VIEWER_LAYOUT_TEST_BLINK_SETTINGS_IMPL_H_ | |
| 6 #define COMPONENTS_HTML_VIEWER_LAYOUT_TEST_BLINK_SETTINGS_IMPL_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "components/html_viewer/blink_settings_impl.h" | |
| 10 | |
| 11 namespace html_viewer { | |
| 12 struct WebPreferences; | |
| 13 | |
| 14 // LayoutTestBlinkSettingsImpl is a subclass of BlinkSettings that can | |
| 15 // configure Blink for running layout tests. | |
| 16 class LayoutTestBlinkSettingsImpl : public BlinkSettingsImpl { | |
| 17 public: | |
| 18 LayoutTestBlinkSettingsImpl(); | |
| 19 void Init() override; | |
| 20 | |
| 21 private: | |
| 22 void ApplySettingsToWebView(blink::WebView* view) const override; | |
| 23 | |
| 24 bool accelerated_2d_canvas_enabled_; | |
| 25 | |
| 26 DISALLOW_COPY_AND_ASSIGN(LayoutTestBlinkSettingsImpl); | |
| 27 }; | |
| 28 | |
| 29 } // namespace html_viewer | |
| 30 | |
| 31 #endif // COMPONENTS_HTML_VIEWER_LAYOUT_TEST_BLINK_SETTINGS_IMPL_H_ | |
| OLD | NEW |