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

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

Issue 14296003: Remove TOUCH_EVENTS and TOUCH_EVENT_TRACKING compile-time flags. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase. Created 7 years, 8 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
« no previous file with comments | « Source/core/page/Settings.h ('k') | Source/core/page/scrolling/ScrollingCoordinator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 , m_loadsImagesAutomatically(false) 144 , m_loadsImagesAutomatically(false)
145 , m_areImagesEnabled(true) 145 , m_areImagesEnabled(true)
146 , m_arePluginsEnabled(false) 146 , m_arePluginsEnabled(false)
147 , m_isScriptEnabled(false) 147 , m_isScriptEnabled(false)
148 , m_usesPageCache(false) 148 , m_usesPageCache(false)
149 , m_fontRenderingMode(0) 149 , m_fontRenderingMode(0)
150 , m_isCSSCustomFilterEnabled(false) 150 , m_isCSSCustomFilterEnabled(false)
151 , m_cssStickyPositionEnabled(true) 151 , m_cssStickyPositionEnabled(true)
152 , m_cssVariablesEnabled(false) 152 , m_cssVariablesEnabled(false)
153 , m_dnsPrefetchingEnabled(false) 153 , m_dnsPrefetchingEnabled(false)
154 #if ENABLE(TOUCH_EVENTS)
155 , m_touchEventEmulationEnabled(false) 154 , m_touchEventEmulationEnabled(false)
156 #endif
157 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF ired) 155 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF ired)
158 #if ENABLE(HIDDEN_PAGE_DOM_TIMER_THROTTLING) 156 #if ENABLE(HIDDEN_PAGE_DOM_TIMER_THROTTLING)
159 , m_hiddenPageDOMTimerThrottlingEnabled(false) 157 , m_hiddenPageDOMTimerThrottlingEnabled(false)
160 #endif 158 #endif
161 { 159 {
162 // A Frame may not have been created yet, so we initialize the AtomicString 160 // A Frame may not have been created yet, so we initialize the AtomicString
163 // hash before trying to use it. 161 // hash before trying to use it.
164 AtomicString::init(); 162 AtomicString::init();
165 initializeDefaultFontFamilies(); 163 initializeDefaultFontFamilies();
166 m_page = page; // Page is not yet fully initialized wen constructing Setting s, so keeping m_page null over initializeDefaultFontFamilies() call. 164 m_page = page; // Page is not yet fully initialized wen constructing Setting s, so keeping m_page null over initializeDefaultFontFamilies() call.
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 void Settings::setHiddenPageDOMTimerThrottlingEnabled(bool flag) 463 void Settings::setHiddenPageDOMTimerThrottlingEnabled(bool flag)
466 { 464 {
467 if (m_hiddenPageDOMTimerThrottlingEnabled == flag) 465 if (m_hiddenPageDOMTimerThrottlingEnabled == flag)
468 return; 466 return;
469 m_hiddenPageDOMTimerThrottlingEnabled = flag; 467 m_hiddenPageDOMTimerThrottlingEnabled = flag;
470 m_page->hiddenPageDOMTimerThrottlingStateChanged(); 468 m_page->hiddenPageDOMTimerThrottlingStateChanged();
471 } 469 }
472 #endif 470 #endif
473 471
474 } // namespace WebCore 472 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/Settings.h ('k') | Source/core/page/scrolling/ScrollingCoordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698