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

Side by Side Diff: blimp/engine/app/engine_settings.h

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 years, 11 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 2016 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 BLIMP_ENGINE_APP_ENGINE_SETTINGS_H_
6 #define BLIMP_ENGINE_APP_ENGINE_SETTINGS_H_
7
8 #include "content/public/common/web_preferences.h"
9
10 namespace blimp {
11 namespace engine {
12
13 // The EngineSettings includes all parameters which are configured for the
14 // BlimpEngine and can be set by the client. This includes the values for
15 // content::WebPreferences which override the default values.
16 struct EngineSettings {
17 EngineSettings() {}
18
19 // -------WebPreferences-------
20 // These members mirror the parameters in content::WebPreferences. See
21 // content/public/common/web_preferences.h for details.
22
23 bool record_whole_document = false;
24
25 // Disable animation in images by default.
26 content::ImageAnimationPolicy animation_policy =
27 content::ImageAnimationPolicy::IMAGE_ANIMATION_POLICY_NO_ANIMATION;
28
29 bool viewport_meta_enabled = true;
30 bool shrinks_viewport_contents_to_fit = true;
31 float default_minimum_page_scale_factor = 0.25f;
32 float default_maximum_page_scale_factor = 5.f;
33 };
34
35 } // namespace engine
36 } // namespace blimp
37
38 #endif // BLIMP_ENGINE_APP_ENGINE_SETTINGS_H_
OLDNEW
« no previous file with comments | « blimp/engine/app/blimp_url_request_context_getter.cc ('k') | blimp/engine/app/settings_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698