diff options
Diffstat (limited to 'chrome/common/renderer_preferences.h')
-rw-r--r-- | chrome/common/renderer_preferences.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/chrome/common/renderer_preferences.h b/chrome/common/renderer_preferences.h index 0bb72ef..dd57866 100644 --- a/chrome/common/renderer_preferences.h +++ b/chrome/common/renderer_preferences.h @@ -33,8 +33,6 @@ enum RendererPreferencesSubpixelRenderingEnum { }; struct RendererPreferences { - RendererPreferences(); - // Whether the renderer's current browser context accept drops from the OS // that result in navigations away from the current page. bool can_accept_load_drops; @@ -73,6 +71,24 @@ struct RendererPreferences { // Currently only changed from default on Linux. Uses |gtk-cursor-blink| // from GtkSettings. double caret_blink_interval; + + RendererPreferences() + : can_accept_load_drops(true), + should_antialias_text(true), + hinting(RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT), + subpixel_rendering( + RENDERER_PREFERENCES_SUBPIXEL_RENDERING_SYSTEM_DEFAULT), + focus_ring_color(0), + thumb_active_color(0), + thumb_inactive_color(0), + track_color(0), + active_selection_bg_color(0), + active_selection_fg_color(0), + inactive_selection_bg_color(0), + inactive_selection_fg_color(0), + browser_handles_top_level_requests(false), + caret_blink_interval(0) { + } }; #endif // CHROME_COMMON_RENDERER_PREFERENCES_H_ |