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

Side by Side Diff: ash/frame/default_header_painter_unittest.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « ash/frame/default_header_painter.cc ('k') | ash/frame/frame_border_hit_test.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ash/common/frame/default_header_painter.h" 5 #include "ash/frame/default_header_painter.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "ash/common/frame/caption_buttons/frame_caption_button_container_view.h " 9 #include "ash/frame/caption_buttons/frame_caption_button_container_view.h"
10 #include "ash/public/cpp/shell_window_ids.h" 10 #include "ash/public/cpp/shell_window_ids.h"
11 #include "ash/test/ash_test_base.h" 11 #include "ash/test/ash_test_base.h"
12 #include "ui/views/test/test_views.h" 12 #include "ui/views/test/test_views.h"
13 #include "ui/views/widget/widget.h" 13 #include "ui/views/widget/widget.h"
14 #include "ui/views/window/non_client_view.h" 14 #include "ui/views/window/non_client_view.h"
15 15
16 using ash::HeaderPainter; 16 using ash::HeaderPainter;
17 using views::NonClientFrameView; 17 using views::NonClientFrameView;
18 using views::Widget; 18 using views::Widget;
19 19
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // Check not so light or dark colors. 76 // Check not so light or dark colors.
77 painter.SetFrameColors(SkColorSetRGB(70, 70, 70), 77 painter.SetFrameColors(SkColorSetRGB(70, 70, 70),
78 SkColorSetRGB(200, 200, 200)); 78 SkColorSetRGB(200, 200, 200));
79 painter.mode_ = HeaderPainter::MODE_ACTIVE; 79 painter.mode_ = HeaderPainter::MODE_ACTIVE;
80 EXPECT_TRUE(painter.ShouldUseLightImages()); 80 EXPECT_TRUE(painter.ShouldUseLightImages());
81 painter.mode_ = HeaderPainter::MODE_INACTIVE; 81 painter.mode_ = HeaderPainter::MODE_INACTIVE;
82 EXPECT_FALSE(painter.ShouldUseLightImages()); 82 EXPECT_FALSE(painter.ShouldUseLightImages());
83 } 83 }
84 84
85 } // namespace ash 85 } // namespace ash
OLDNEW
« no previous file with comments | « ash/frame/default_header_painter.cc ('k') | ash/frame/frame_border_hit_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698