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

Side by Side Diff: third_party/WebKit/public/platform/WebContentLayer.h

Issue 2559413002: [1/5] Pass transformed rasterization policy from Blink (Closed)
Patch Set: rebase Created 3 years, 8 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 | « third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 19 matching lines...) Expand all
30 #include "WebLayer.h" 30 #include "WebLayer.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class WebContentLayer { 34 class WebContentLayer {
35 public: 35 public:
36 virtual ~WebContentLayer() {} 36 virtual ~WebContentLayer() {}
37 37
38 // The WebContentLayer has ownership of this wrapper. 38 // The WebContentLayer has ownership of this wrapper.
39 virtual WebLayer* layer() = 0; 39 virtual WebLayer* layer() = 0;
40
41 // Normally content layers are rasterized in a space with both axis and
42 // origin aligned to local layer space, optionally with a uniform scale.
43 // With this flag set to true, the compositor may raster contents in any
44 // space, e.g. device pixel space.
45 virtual void setAllowTransformedRasterization(bool) = 0;
40 }; 46 };
41 47
42 } // namespace blink 48 } // namespace blink
43 49
44 #endif // WebContentLayer_h 50 #endif // WebContentLayer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698