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

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

Issue 865153004: Remove dead code related to compositing from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « sky/engine/public/platform/Platform.h ('k') | sky/engine/web/WebSettingsImpl.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) 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 }; 77 };
78 78
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 void setAccelerated2dCanvasEnabled(bool) = 0; 85 virtual void setAccelerated2dCanvasEnabled(bool) = 0;
86 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; 86 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0;
87 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0;
88 // Not implemented yet, see http://crbug.com/178119
89 virtual void setAcceleratedCompositingForTransitionEnabled(bool) { };
90 // If set to true, allows frames with an https origin to display passive 87 // If set to true, allows frames with an https origin to display passive
91 // contents at an insecure URL. Otherwise, disallows it. The 88 // contents at an insecure URL. Otherwise, disallows it. The
92 // FrameLoaderClient set to the frame may override the value set by this 89 // FrameLoaderClient set to the frame may override the value set by this
93 // method. 90 // method.
94 virtual void setAntialiased2dCanvasEnabled(bool) = 0; 91 virtual void setAntialiased2dCanvasEnabled(bool) = 0;
95 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0; 92 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0;
96 virtual void setContainerCullingEnabled(bool) = 0; 93 virtual void setContainerCullingEnabled(bool) = 0;
97 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0; 94 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0;
98 virtual void setDOMPasteAllowed(bool) = 0; 95 virtual void setDOMPasteAllowed(bool) = 0;
99 virtual void setDefaultFixedFontSize(int) = 0; 96 virtual void setDefaultFixedFontSize(int) = 0;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 virtual void setV8CacheOptions(V8CacheOptions) = 0; 138 virtual void setV8CacheOptions(V8CacheOptions) = 0;
142 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; 139 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0;
143 140
144 protected: 141 protected:
145 ~WebSettings() { } 142 ~WebSettings() { }
146 }; 143 };
147 144
148 } // namespace blink 145 } // namespace blink
149 146
150 #endif // SKY_ENGINE_PUBLIC_WEB_WEBSETTINGS_H_ 147 #endif // SKY_ENGINE_PUBLIC_WEB_WEBSETTINGS_H_
OLDNEW
« no previous file with comments | « sky/engine/public/platform/Platform.h ('k') | sky/engine/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698