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

Side by Side Diff: public/web/WebSettings.h

Issue 476273003: Rename acceleratedCompositingForFixedPosition to preferCompositingToLCDText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm-fixedpos: rebase Created 6 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
« no previous file with comments | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | 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) 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 V8CacheOptionsParse, 57 V8CacheOptionsParse,
58 V8CacheOptionsCode 58 V8CacheOptionsCode
59 }; 59 };
60 60
61 virtual bool mainFrameResizesAreOrientationChanges() const = 0; 61 virtual bool mainFrameResizesAreOrientationChanges() const = 0;
62 virtual bool shrinksViewportContentToFit() const = 0; 62 virtual bool shrinksViewportContentToFit() const = 0;
63 virtual bool viewportEnabled() const = 0; 63 virtual bool viewportEnabled() const = 0;
64 virtual void setAccelerated2dCanvasEnabled(bool) = 0; 64 virtual void setAccelerated2dCanvasEnabled(bool) = 0;
65 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; 65 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0;
66 virtual void setAcceleratedCompositingEnabled(bool) = 0; 66 virtual void setAcceleratedCompositingEnabled(bool) = 0;
67 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0;
67 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool) = 0; 68 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool) = 0;
68 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool) = 0; 69 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool) = 0;
69 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool) = 0; 70 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool) = 0;
70 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool) = 0; 71 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool) = 0;
71 // Not implemented yet, see http://crbug.com/178119 72 // Not implemented yet, see http://crbug.com/178119
72 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { }; 73 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { };
73 // If set to true, allows frames with an https origin to display passive 74 // If set to true, allows frames with an https origin to display passive
74 // contents at an insecure URL. Otherwise, disallows it. The 75 // contents at an insecure URL. Otherwise, disallows it. The
75 // FrameLoaderClient set to the frame may override the value set by this 76 // FrameLoaderClient set to the frame may override the value set by this
76 // method. 77 // method.
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 virtual void setWideViewportQuirkEnabled(bool) = 0; 206 virtual void setWideViewportQuirkEnabled(bool) = 0;
206 virtual void setXSSAuditorEnabled(bool) = 0; 207 virtual void setXSSAuditorEnabled(bool) = 0;
207 208
208 protected: 209 protected:
209 ~WebSettings() { } 210 ~WebSettings() { }
210 }; 211 };
211 212
212 } // namespace blink 213 } // namespace blink
213 214
214 #endif 215 #endif
OLDNEW
« no previous file with comments | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698