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

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

Issue 2030593002: Renames ash/wm/common into ash/common/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/custom_frame_view_ash.cc ('k') | ash/frame/frame_border_hit_test_controller.cc » ('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/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/wm/window_state.h"
9 #include "ash/frame/caption_buttons/frame_caption_button_container_view.h" 10 #include "ash/frame/caption_buttons/frame_caption_button_container_view.h"
10 #include "ash/shell.h" 11 #include "ash/shell.h"
11 #include "ash/test/ash_test_base.h" 12 #include "ash/test/ash_test_base.h"
12 #include "ash/wm/common/window_state.h"
13 #include "ui/gfx/font_list.h" 13 #include "ui/gfx/font_list.h"
14 #include "ui/views/test/test_views.h" 14 #include "ui/views/test/test_views.h"
15 #include "ui/views/widget/widget.h" 15 #include "ui/views/widget/widget.h"
16 #include "ui/views/window/non_client_view.h" 16 #include "ui/views/window/non_client_view.h"
17 17
18 using ash::HeaderPainter; 18 using ash::HeaderPainter;
19 using views::NonClientFrameView; 19 using views::NonClientFrameView;
20 using views::Widget; 20 using views::Widget;
21 21
22 namespace ash { 22 namespace ash {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Check not so light or dark colors. 89 // Check not so light or dark colors.
90 painter.SetFrameColors(SkColorSetRGB(70, 70, 70), 90 painter.SetFrameColors(SkColorSetRGB(70, 70, 70),
91 SkColorSetRGB(200, 200, 200)); 91 SkColorSetRGB(200, 200, 200));
92 painter.mode_ = HeaderPainter::MODE_ACTIVE; 92 painter.mode_ = HeaderPainter::MODE_ACTIVE;
93 EXPECT_TRUE(painter.ShouldUseLightImages()); 93 EXPECT_TRUE(painter.ShouldUseLightImages());
94 painter.mode_ = HeaderPainter::MODE_INACTIVE; 94 painter.mode_ = HeaderPainter::MODE_INACTIVE;
95 EXPECT_FALSE(painter.ShouldUseLightImages()); 95 EXPECT_FALSE(painter.ShouldUseLightImages());
96 } 96 }
97 97
98 } // namespace ash 98 } // namespace ash
OLDNEW
« no previous file with comments | « ash/frame/custom_frame_view_ash.cc ('k') | ash/frame/frame_border_hit_test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698