| 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 16 matching lines...) Expand all Loading... |
| 27 #define WebContentLayerClient_h | 27 #define WebContentLayerClient_h |
| 28 | 28 |
| 29 #include "WebCommon.h" | 29 #include "WebCommon.h" |
| 30 | 30 |
| 31 namespace gfx { | 31 namespace gfx { |
| 32 class Rect; | 32 class Rect; |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 struct WebRect; | |
| 38 class WebDisplayItemList; | 37 class WebDisplayItemList; |
| 39 | 38 |
| 40 class BLINK_PLATFORM_EXPORT WebContentLayerClient { | 39 class BLINK_PLATFORM_EXPORT WebContentLayerClient { |
| 41 public: | 40 public: |
| 42 enum PaintingControlSetting { | 41 enum PaintingControlSetting { |
| 43 // Returns the last PaintArtifact produced. | 42 // Returns the last PaintArtifact produced. |
| 44 PaintDefaultBehavior, | 43 PaintDefaultBehavior, |
| 45 // Paints the content to simulate the behavior of | 44 // Paints the content to simulate the behavior of |
| 46 // FrameView::synchronizedPaint. | 45 // FrameView::synchronizedPaint. |
| 47 PaintDefaultBehaviorForTest, | 46 PaintDefaultBehaviorForTest, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 75 // result includes data cached internally during painting. | 74 // result includes data cached internally during painting. |
| 76 virtual size_t approximateUnsharedMemoryUsage() const { return 0; } | 75 virtual size_t approximateUnsharedMemoryUsage() const { return 0; } |
| 77 | 76 |
| 78 protected: | 77 protected: |
| 79 virtual ~WebContentLayerClient() {} | 78 virtual ~WebContentLayerClient() {} |
| 80 }; | 79 }; |
| 81 | 80 |
| 82 } // namespace blink | 81 } // namespace blink |
| 83 | 82 |
| 84 #endif // WebContentLayerClient_h | 83 #endif // WebContentLayerClient_h |
| OLD | NEW |