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

Side by Side Diff: components/html_viewer/blink_settings_impl.h

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « components/html_viewer/blink_settings.cc ('k') | components/html_viewer/blink_settings_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_BLINK_SETTINGS_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_BLINK_SETTINGS_IMPL_H_
7
8 #include "base/macros.h"
9 #include "components/html_viewer/blink_settings.h"
10
11 namespace blink {
12 class WebView;
13 }
14
15 namespace html_viewer {
16 struct WebPreferences;
17
18 // BlinkSettingsImpl configure blink for a non-testing HTMLViewer.
19 class BlinkSettingsImpl : public BlinkSettings {
20 public:
21 BlinkSettingsImpl();
22
23 // Additional more time-consuming configuration.
24 void Init() override;
25
26 // interim code: pushes layout test mode and other interim settings
27 // into Blink.
28 void ApplySettingsToWebView(blink::WebView* view) const override;
29
30 protected:
31 void ApplyFontRendereringSettings() const;
32 void ApplySettings(blink::WebView* view, const WebPreferences& prefs) const;
33
34 private:
35 bool experimental_webgl_enabled_;
36
37 DISALLOW_COPY_AND_ASSIGN(BlinkSettingsImpl);
38 };
39
40 } // namespace html_viewer
41
42 #endif // COMPONENTS_HTML_VIEWER_BLINK_SETTINGS_IMPL_H_
OLDNEW
« no previous file with comments | « components/html_viewer/blink_settings.cc ('k') | components/html_viewer/blink_settings_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698