| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #include "config.h" | 25 #include "config.h" |
| 26 | 26 |
| 27 #include "core/platform/graphics/chromium/Canvas2DLayerManager.h" | 27 #include "core/platform/graphics/chromium/Canvas2DLayerManager.h" |
| 28 | 28 |
| 29 #include <gmock/gmock.h> | 29 #include <gmock/gmock.h> |
| 30 #include <gtest/gtest.h> | 30 #include <gtest/gtest.h> |
| 31 #include "FakeWebGraphicsContext3D.h" | 31 #include "FakeWebGraphicsContext3D.h" |
| 32 #include "GraphicsContext3DPrivate.h" | 32 #include "core/platform/chromium/support/GraphicsContext3DPrivate.h" |
| 33 #include <public/Platform.h> | 33 #include <public/Platform.h> |
| 34 #include <public/WebThread.h> | 34 #include <public/WebThread.h> |
| 35 | 35 |
| 36 using namespace WebCore; | 36 using namespace WebCore; |
| 37 using testing::InSequence; | 37 using testing::InSequence; |
| 38 using testing::Return; | 38 using testing::Return; |
| 39 using testing::Test; | 39 using testing::Test; |
| 40 | 40 |
| 41 | 41 |
| 42 class FakeCanvas2DLayerBridge : public Canvas2DLayerBridge { | 42 class FakeCanvas2DLayerBridge : public Canvas2DLayerBridge { |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 flushEvictionTest(); | 241 flushEvictionTest(); |
| 242 } | 242 } |
| 243 | 243 |
| 244 TEST_F(Canvas2DLayerManagerTest, testDeferredFrame) | 244 TEST_F(Canvas2DLayerManagerTest, testDeferredFrame) |
| 245 { | 245 { |
| 246 deferredFrameTest(); | 246 deferredFrameTest(); |
| 247 } | 247 } |
| 248 | 248 |
| 249 } // namespace | 249 } // namespace |
| 250 | 250 |
| OLD | NEW |