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

Side by Side Diff: ui/views/rendering/border_unittest.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 | « ui/views/rendering/border.cc ('k') | ui/views/view.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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <algorithm> 5 #include <algorithm>
6 6
7 #include "gfx/canvas.h"
8 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 #include "ui/gfx/canvas.h"
9 #include "ui/views/rendering/border.h" 9 #include "ui/views/rendering/border.h"
10 #include "ui/views/view.h" 10 #include "ui/views/view.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 class BorderTest : public testing::Test { 14 class BorderTest : public testing::Test {
15 public: 15 public:
16 BorderTest() {} 16 BorderTest() {}
17 virtual ~BorderTest() {} 17 virtual ~BorderTest() {}
18 18
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 kViewSize - 2 * kViewInset), 67 kViewSize - 2 * kViewInset),
68 v.GetContentsBounds()); 68 v.GetContentsBounds());
69 69
70 TestBorder* border = new TestBorder; 70 TestBorder* border = new TestBorder;
71 v.SetBorder(border); 71 v.SetBorder(border);
72 v.CallOnPaintWithNULLCanvas(); 72 v.CallOnPaintWithNULLCanvas();
73 EXPECT_TRUE(border->painted()); 73 EXPECT_TRUE(border->painted());
74 } 74 }
75 75
76 } // namespace ui 76 } // namespace ui
OLDNEW
« no previous file with comments | « ui/views/rendering/border.cc ('k') | ui/views/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698