1 // Copyright (c) 2014, 2015 Samsung Electronics 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.
5 #ifndef WEB_PREFERENCES_EFL_H
6 #define WEB_PREFERENCES_EFL_H
8 #include "tizen/system_info.h"
10 // Contains settings from Ewk_Settings that do not belong to content::WebPreferences
11 // and need to be sent to renderer.
12 struct WebPreferencesEfl {
13 bool shrinks_viewport_content_to_fit =
14 IsMobileProfile() || IsWearableProfile() ? true : false;
15 bool javascript_can_open_windows_automatically_ewk = true;
16 bool hw_keyboard_connected = false;
19 #endif // WEB_PREFERENCES_EFL_H