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

Side by Side Diff: public/web/WebSettings.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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual bool mainFrameResizesAreOrientationChanges() const = 0; 79 virtual bool mainFrameResizesAreOrientationChanges() const = 0;
80 virtual int availablePointerTypes() const = 0; 80 virtual int availablePointerTypes() const = 0;
81 virtual PointerType primaryPointerType() const = 0; 81 virtual PointerType primaryPointerType() const = 0;
82 virtual int availableHoverTypes() const = 0; 82 virtual int availableHoverTypes() const = 0;
83 virtual HoverType primaryHoverType() const = 0; 83 virtual HoverType primaryHoverType() const = 0;
84 virtual bool shrinksViewportContentToFit() const = 0; 84 virtual bool shrinksViewportContentToFit() const = 0;
85 virtual bool viewportEnabled() const = 0; 85 virtual bool viewportEnabled() const = 0;
86 virtual void setAccelerated2dCanvasEnabled(bool) = 0; 86 virtual void setAccelerated2dCanvasEnabled(bool) = 0;
87 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; 87 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0;
88 virtual void setAcceleratedCompositingEnabled(bool) = 0; 88 virtual void setAcceleratedCompositingEnabled(bool) = 0;
89 virtual void setAcceleratedScrollingEnabled(bool) = 0;
89 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0; 90 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0;
90 // Not implemented yet, see http://crbug.com/178119 91 // Not implemented yet, see http://crbug.com/178119
91 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }; 92 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { };
92 // If set to true, allows frames with an https origin to display passive 93 // If set to true, allows frames with an https origin to display passive
93 // contents at an insecure URL. Otherwise, disallows it. The 94 // contents at an insecure URL. Otherwise, disallows it. The
94 // FrameLoaderClient set to the frame may override the value set by this 95 // FrameLoaderClient set to the frame may override the value set by this
95 // method. 96 // method.
96 virtual void setAccessibilityEnabled(bool) = 0; 97 virtual void setAccessibilityEnabled(bool) = 0;
97 virtual void setAllowDisplayOfInsecureContent(bool) = 0; 98 virtual void setAllowDisplayOfInsecureContent(bool) = 0;
98 virtual void setAllowFileAccessFromFileURLs(bool) = 0; 99 virtual void setAllowFileAccessFromFileURLs(bool) = 0;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 virtual void setWideViewportQuirkEnabled(bool) = 0; 229 virtual void setWideViewportQuirkEnabled(bool) = 0;
229 virtual void setXSSAuditorEnabled(bool) = 0; 230 virtual void setXSSAuditorEnabled(bool) = 0;
230 231
231 protected: 232 protected:
232 ~WebSettings() { } 233 ~WebSettings() { }
233 }; 234 };
234 235
235 } // namespace blink 236 } // namespace blink
236 237
237 #endif 238 #endif
OLDNEW
« Source/core/frame/Settings.in ('K') | « Source/web/tests/ScrollingCoordinatorChromiumTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698