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

Unified Diff: cc/resources/raster_source.h

Issue 684543006: cc: Toggle LCD text at raster time instead of record time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcdraster: . 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 side-by-side diff with in-line comments
Download patch
Index: cc/resources/raster_source.h
diff --git a/cc/resources/raster_source.h b/cc/resources/raster_source.h
index f7ea2716b03820c1fad25644617f7cf0061287f4..db383ff24a36355b1539b0e1c1b6b1235e508d37 100644
--- a/cc/resources/raster_source.h
+++ b/cc/resources/raster_source.h
@@ -93,6 +93,9 @@ class CC_EXPORT RasterSource : public base::RefCountedThreadSafe<RasterSource> {
// TODO(vmpstr): This should be a layer property.
virtual bool IsMask() const = 0;
+ // Return true if LCD anti-aliasing may be used when rastering text.
+ virtual bool CanUseLcdText() const = 0;
enne (OOO) 2014/11/14 00:05:45 Lcd => LCD
+
protected:
friend class base::RefCountedThreadSafe<RasterSource>;

Powered by Google App Engine
This is Rietveld 408576698