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

Side by Side Diff: Source/platform/graphics/Canvas2DLayerManagerTest.cpp

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/platform/graphics/Canvas2DLayerManager.cpp ('k') | Source/platform/graphics/Color.h » ('j') | 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) 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 18 matching lines...) Expand all
29 #include "SkDevice.h" 29 #include "SkDevice.h"
30 #include "SkSurface.h" 30 #include "SkSurface.h"
31 #include "platform/graphics/test/MockWebGraphicsContext3D.h" 31 #include "platform/graphics/test/MockWebGraphicsContext3D.h"
32 #include "public/platform/Platform.h" 32 #include "public/platform/Platform.h"
33 #include "public/platform/WebGraphicsContext3DProvider.h" 33 #include "public/platform/WebGraphicsContext3DProvider.h"
34 #include "public/platform/WebThread.h" 34 #include "public/platform/WebThread.h"
35 35
36 #include <gmock/gmock.h> 36 #include <gmock/gmock.h>
37 #include <gtest/gtest.h> 37 #include <gtest/gtest.h>
38 38
39 using namespace WebCore; 39 using namespace blink;
40 using testing::InSequence; 40 using testing::InSequence;
41 using testing::Return; 41 using testing::Return;
42 using testing::Test; 42 using testing::Test;
43 43
44 namespace { 44 namespace {
45 45
46 class MockWebGraphicsContext3DProvider : public blink::WebGraphicsContext3DProvi der { 46 class MockWebGraphicsContext3DProvider : public blink::WebGraphicsContext3DProvi der {
47 public: 47 public:
48 MockWebGraphicsContext3DProvider(blink::WebGraphicsContext3D* context3d) 48 MockWebGraphicsContext3DProvider(blink::WebGraphicsContext3D* context3d)
49 : m_context3d(context3d) { } 49 : m_context3d(context3d) { }
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 hiddenCanvasTest(); 331 hiddenCanvasTest();
332 } 332 }
333 333
334 TEST_F(Canvas2DLayerManagerTest, testAddRemoveLayer) 334 TEST_F(Canvas2DLayerManagerTest, testAddRemoveLayer)
335 { 335 {
336 addRemoveLayerTest(); 336 addRemoveLayerTest();
337 } 337 }
338 338
339 } // unnamed namespace 339 } // unnamed namespace
340 340
OLDNEW
« no previous file with comments | « Source/platform/graphics/Canvas2DLayerManager.cpp ('k') | Source/platform/graphics/Color.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698