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

Side by Side Diff: Source/web/WebSettingsImpl.h

Issue 564043003: Add a setting to disable threaded scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual bool mainFrameResizesAreOrientationChanges() const OVERRIDE; 46 virtual bool mainFrameResizesAreOrientationChanges() const OVERRIDE;
47 virtual bool shrinksViewportContentToFit() const OVERRIDE; 47 virtual bool shrinksViewportContentToFit() const OVERRIDE;
48 virtual int availablePointerTypes() const OVERRIDE; 48 virtual int availablePointerTypes() const OVERRIDE;
49 virtual PointerType primaryPointerType() const OVERRIDE; 49 virtual PointerType primaryPointerType() const OVERRIDE;
50 virtual int availableHoverTypes() const OVERRIDE; 50 virtual int availableHoverTypes() const OVERRIDE;
51 virtual HoverType primaryHoverType() const OVERRIDE; 51 virtual HoverType primaryHoverType() const OVERRIDE;
52 virtual bool viewportEnabled() const OVERRIDE; 52 virtual bool viewportEnabled() const OVERRIDE;
53 virtual void setAccelerated2dCanvasEnabled(bool) OVERRIDE; 53 virtual void setAccelerated2dCanvasEnabled(bool) OVERRIDE;
54 virtual void setAccelerated2dCanvasMSAASampleCount(int) OVERRIDE; 54 virtual void setAccelerated2dCanvasMSAASampleCount(int) OVERRIDE;
55 virtual void setAcceleratedCompositingEnabled(bool) OVERRIDE; 55 virtual void setAcceleratedCompositingEnabled(bool) OVERRIDE;
56 virtual void setAcceleratedScrollingEnabled(bool) OVERRIDE;
56 virtual void setPreferCompositingToLCDTextEnabled(bool) OVERRIDE; 57 virtual void setPreferCompositingToLCDTextEnabled(bool) OVERRIDE;
57 virtual void setAccessibilityEnabled(bool) OVERRIDE; 58 virtual void setAccessibilityEnabled(bool) OVERRIDE;
58 virtual void setAllowDisplayOfInsecureContent(bool) OVERRIDE; 59 virtual void setAllowDisplayOfInsecureContent(bool) OVERRIDE;
59 virtual void setAllowFileAccessFromFileURLs(bool) OVERRIDE; 60 virtual void setAllowFileAccessFromFileURLs(bool) OVERRIDE;
60 virtual void setAllowCustomScrollbarInMainFrame(bool) OVERRIDE; 61 virtual void setAllowCustomScrollbarInMainFrame(bool) OVERRIDE;
61 virtual void setAllowRunningOfInsecureContent(bool) OVERRIDE; 62 virtual void setAllowRunningOfInsecureContent(bool) OVERRIDE;
62 virtual void setAllowConnectingInsecureWebSocket(bool) OVERRIDE; 63 virtual void setAllowConnectingInsecureWebSocket(bool) OVERRIDE;
63 virtual void setAllowScriptsToCloseWindows(bool) OVERRIDE; 64 virtual void setAllowScriptsToCloseWindows(bool) OVERRIDE;
64 virtual void setAllowUniversalAccessFromFileURLs(bool) OVERRIDE; 65 virtual void setAllowUniversalAccessFromFileURLs(bool) OVERRIDE;
65 virtual void setAntialiased2dCanvasEnabled(bool) OVERRIDE; 66 virtual void setAntialiased2dCanvasEnabled(bool) OVERRIDE;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // This quirk is to maintain compatibility with Android apps built on 214 // This quirk is to maintain compatibility with Android apps built on
214 // the Android SDK prior to and including version 18. Presumably, this 215 // the Android SDK prior to and including version 18. Presumably, this
215 // can be removed any time after 2015. See http://crbug.com/313754. 216 // can be removed any time after 2015. See http://crbug.com/313754.
216 bool m_clobberUserAgentInitialScaleQuirk; 217 bool m_clobberUserAgentInitialScaleQuirk;
217 bool m_mainFrameResizesAreOrientationChanges; 218 bool m_mainFrameResizesAreOrientationChanges;
218 }; 219 };
219 220
220 } // namespace blink 221 } // namespace blink
221 222
222 #endif 223 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698