| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |