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

Side by Side Diff: Source/core/page/Settings.cpp

Issue 20103002: Make composited scrolling codepaths co-operate. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserv ed.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 , m_isJavaEnabled(false) 131 , m_isJavaEnabled(false)
132 , m_loadsImagesAutomatically(false) 132 , m_loadsImagesAutomatically(false)
133 , m_areImagesEnabled(true) 133 , m_areImagesEnabled(true)
134 , m_arePluginsEnabled(false) 134 , m_arePluginsEnabled(false)
135 , m_isScriptEnabled(false) 135 , m_isScriptEnabled(false)
136 , m_isCSSCustomFilterEnabled(false) 136 , m_isCSSCustomFilterEnabled(false)
137 , m_cssStickyPositionEnabled(true) 137 , m_cssStickyPositionEnabled(true)
138 , m_dnsPrefetchingEnabled(false) 138 , m_dnsPrefetchingEnabled(false)
139 , m_touchEventEmulationEnabled(false) 139 , m_touchEventEmulationEnabled(false)
140 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF ired) 140 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF ired)
141 , m_compositorDrivenAcceleratedScrollingEnabled(false) 141 , m_compositorDrivenAcceleratedScrollingEnabled(true)
142 { 142 {
143 m_page = page; // Page is not yet fully initialized wen constructing Setting s, so keeping m_page null over initializeDefaultFontFamilies() call. 143 m_page = page; // Page is not yet fully initialized wen constructing Setting s, so keeping m_page null over initializeDefaultFontFamilies() call.
144 } 144 }
145 145
146 PassOwnPtr<Settings> Settings::create(Page* page) 146 PassOwnPtr<Settings> Settings::create(Page* page)
147 { 147 {
148 return adoptPtr(new Settings(page)); 148 return adoptPtr(new Settings(page));
149 } 149 }
150 150
151 SETTINGS_SETTER_BODIES 151 SETTINGS_SETTER_BODIES
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 m_openGLMultisamplingEnabled = flag; 375 m_openGLMultisamplingEnabled = flag;
376 m_page->multisamplingChanged(); 376 m_page->multisamplingChanged();
377 } 377 }
378 378
379 bool Settings::openGLMultisamplingEnabled() 379 bool Settings::openGLMultisamplingEnabled()
380 { 380 {
381 return m_openGLMultisamplingEnabled; 381 return m_openGLMultisamplingEnabled;
382 } 382 }
383 383
384 } // namespace WebCore 384 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698