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

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

Issue 23819053: Rename usesOverlayScrollbars of settings to mockScrollbarsUseOverlay (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: mockScrollbarsUses... -> mockScrollbarsUse... Created 7 years, 3 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) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserved.
3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 void setCSSCustomFilterEnabled(bool enabled) { m_isCSSCustomFilterEnabled = enabled; } 136 void setCSSCustomFilterEnabled(bool enabled) { m_isCSSCustomFilterEnabled = enabled; }
137 bool isCSSCustomFilterEnabled() const { return m_isCSSCustomFilterEnabled; } 137 bool isCSSCustomFilterEnabled() const { return m_isCSSCustomFilterEnabled; }
138 138
139 void setCSSStickyPositionEnabled(bool enabled) { m_cssStickyPositionEnabled = enabled; } 139 void setCSSStickyPositionEnabled(bool enabled) { m_cssStickyPositionEnabled = enabled; }
140 bool cssStickyPositionEnabled() const { return m_cssStickyPositionEnabled; } 140 bool cssStickyPositionEnabled() const { return m_cssStickyPositionEnabled; }
141 141
142 static void setMockScrollbarsEnabled(bool flag); 142 static void setMockScrollbarsEnabled(bool flag);
143 static bool mockScrollbarsEnabled(); 143 static bool mockScrollbarsEnabled();
144 144
145 static void setUsesOverlayScrollbars(bool flag); 145 static void setMockScrollbarsUseOverlay(bool flag);
146 static bool usesOverlayScrollbars(); 146 static bool mockScrollbarsUseOverlay();
147 147
148 void setTouchEventEmulationEnabled(bool enabled) { m_touchEventEmulationEnab led = enabled; } 148 void setTouchEventEmulationEnabled(bool enabled) { m_touchEventEmulationEnab led = enabled; }
149 bool isTouchEventEmulationEnabled() const { return m_touchEventEmulationEnab led; } 149 bool isTouchEventEmulationEnabled() const { return m_touchEventEmulationEnab led; }
150 150
151 void setOpenGLMultisamplingEnabled(bool flag); 151 void setOpenGLMultisamplingEnabled(bool flag);
152 bool openGLMultisamplingEnabled(); 152 bool openGLMultisamplingEnabled();
153 153
154 void setViewportEnabled(bool); 154 void setViewportEnabled(bool);
155 bool viewportEnabled() const { return m_viewportEnabled; } 155 bool viewportEnabled() const { return m_viewportEnabled; }
156 156
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 bool m_viewportEnabled : 1; 195 bool m_viewportEnabled : 1;
196 196
197 // FIXME: This is a temporary flag and should be removed once accelerated 197 // FIXME: This is a temporary flag and should be removed once accelerated
198 // overflow scroll is ready (crbug.com/254111). 198 // overflow scroll is ready (crbug.com/254111).
199 bool m_compositorDrivenAcceleratedScrollingEnabled : 1; 199 bool m_compositorDrivenAcceleratedScrollingEnabled : 1;
200 200
201 Timer<Settings> m_setImageLoadingSettingsTimer; 201 Timer<Settings> m_setImageLoadingSettingsTimer;
202 void imageLoadingSettingsTimerFired(Timer<Settings>*); 202 void imageLoadingSettingsTimerFired(Timer<Settings>*);
203 203
204 static bool gMockScrollbarsEnabled; 204 static bool gMockScrollbarsEnabled;
205 static bool gUsesOverlayScrollbars; 205 static bool gMockScrollbarsUseOverlay;
206 }; 206 };
207 207
208 } // namespace WebCore 208 } // namespace WebCore
209 209
210 #endif // Settings_h 210 #endif // Settings_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/scrolling/scrollbar-tickmarks-hittest.html ('k') | Source/core/page/Settings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698