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

Side by Side Diff: ash/common/popup_message_unittest.cc

Issue 2124173002: mash: Migrate popup_message to ash/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. Created 4 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
« no previous file with comments | « ash/common/popup_message.cc ('k') | ash/common/system/DEPS » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/popup_message.h" 5 #include "ash/common/popup_message.h"
6 6
7 #include "ash/test/ash_test_base.h" 7 #include "ash/test/ash_test_base.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "ui/views/controls/label.h" 9 #include "ui/views/controls/label.h"
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
11 11
12 namespace ash { 12 namespace ash {
13 13
14 using PopupMessageTest = test::AshTestBase; 14 using PopupMessageTest = test::AshTestBase;
15 15
(...skipping 26 matching lines...) Expand all
42 EXPECT_GE(caption_label->height(), 42 EXPECT_GE(caption_label->height(),
43 caption_label->GetHeightForWidth(caption_label->width())); 43 caption_label->GetHeightForWidth(caption_label->width()));
44 EXPECT_GE(message_label->height(), 44 EXPECT_GE(message_label->height(),
45 message_label->GetHeightForWidth(message_label->width())); 45 message_label->GetHeightForWidth(message_label->width()));
46 46
47 message.Close(); 47 message.Close();
48 widget->Close(); 48 widget->Close();
49 } 49 }
50 50
51 } // namespace ash 51 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/popup_message.cc ('k') | ash/common/system/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698