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

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

Issue 737793006: Add compile flag for enabling the compostior (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cleanup Created 6 years, 1 month 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 }; 69 };
70 70
71 enum HoverType { 71 enum HoverType {
72 HoverTypeNone = 1, 72 HoverTypeNone = 1,
73 // Indicates that the primary pointing system can hover, but it requires 73 // Indicates that the primary pointing system can hover, but it requires
74 // a significant action on the user’s part. e.g. hover on “long press”. 74 // a significant action on the user’s part. e.g. hover on “long press”.
75 HoverTypeOnDemand = 2, 75 HoverTypeOnDemand = 2,
76 HoverTypeHover = 4 76 HoverTypeHover = 4
77 }; 77 };
78 78
79 virtual bool compositorIsEnabled() const = 0;
79 virtual bool mainFrameResizesAreOrientationChanges() const = 0; 80 virtual bool mainFrameResizesAreOrientationChanges() const = 0;
80 virtual int availablePointerTypes() const = 0; 81 virtual int availablePointerTypes() const = 0;
81 virtual PointerType primaryPointerType() const = 0; 82 virtual PointerType primaryPointerType() const = 0;
82 virtual int availableHoverTypes() const = 0; 83 virtual int availableHoverTypes() const = 0;
83 virtual HoverType primaryHoverType() const = 0; 84 virtual HoverType primaryHoverType() const = 0;
84 virtual bool shrinksViewportContentToFit() const = 0; 85 virtual bool shrinksViewportContentToFit() const = 0;
85 virtual void setAccelerated2dCanvasEnabled(bool) = 0; 86 virtual void setAccelerated2dCanvasEnabled(bool) = 0;
86 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; 87 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0;
87 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0; 88 virtual void setPreferCompositingToLCDTextEnabled(bool) = 0;
88 // Not implemented yet, see http://crbug.com/178119 89 // Not implemented yet, see http://crbug.com/178119
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 virtual void setV8CacheOptions(V8CacheOptions) = 0; 148 virtual void setV8CacheOptions(V8CacheOptions) = 0;
148 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; 149 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0;
149 150
150 protected: 151 protected:
151 ~WebSettings() { } 152 ~WebSettings() { }
152 }; 153 };
153 154
154 } // namespace blink 155 } // namespace blink
155 156
156 #endif 157 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/compositing/RenderLayerCompositor.cpp ('k') | sky/engine/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698