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

Side by Side Diff: components/html_viewer/blink_settings.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
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_H_
6 #define COMPONENTS_HTML_VIEWER_BLINK_SETTINGS_H_
7
8 #include "base/macros.h"
9
10 namespace blink {
11 class WebView;
12 }
13
14 namespace html_viewer {
15
16 // BlinkSettings is a pure-virtual interface for configuring blink for
17 // use by this HTMLViewer.
18 //
19 // TODO(rjkroege): The methods labeled "interim" are waiting on the a
20 // future rationaliztion of the code comprising blink::WebSettings,
21 // content::WebPreferences etc. per http://crbug.com/481108
22 //
23 // TODO(rjkroege): Support configuring preferences via mojo as necessary.
24 class BlinkSettings {
25 public:
26 BlinkSettings();
27 virtual ~BlinkSettings();
28
29 // Additional more time-consuming configuration.
30 virtual void Init() = 0;
31
32 // interim code: pushes settings into Blink.
33 virtual void ApplySettingsToWebView(blink::WebView* view) const = 0;
34
35 DISALLOW_COPY_AND_ASSIGN(BlinkSettings);
36 };
37
38 } // namespace html_viewer
39
40 #endif // COMPONENTS_HTML_VIEWER_BLINK_SETTINGS_H_
OLDNEW
« no previous file with comments | « components/html_viewer/blink_resource_constants.h ('k') | components/html_viewer/blink_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698