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

Side by Side Diff: ash/system/tray/tri_view_unittest.cc

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase 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/system/tray/tri_view.cc ('k') | ash/system/tray/view_click_listener.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <memory> 5 #include <memory>
6 6
7 #include "ash/common/system/tray/tri_view.h" 7 #include "ash/system/tray/tri_view.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "ui/gfx/geometry/insets.h" 10 #include "ui/gfx/geometry/insets.h"
11 #include "ui/gfx/geometry/rect_conversions.h" 11 #include "ui/gfx/geometry/rect_conversions.h"
12 #include "ui/views/layout/box_layout.h" 12 #include "ui/views/layout/box_layout.h"
13 #include "ui/views/test/test_layout_manager.h" 13 #include "ui/views/test/test_layout_manager.h"
14 #include "ui/views/test/test_views.h" 14 #include "ui/views/test/test_views.h"
15 #include "ui/views/view.h" 15 #include "ui/views/view.h"
16 16
17 namespace ash { 17 namespace ash {
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 EXPECT_NE(kMinHeight, GetMinHeight(TriView::Container::END)); 371 EXPECT_NE(kMinHeight, GetMinHeight(TriView::Container::END));
372 372
373 tri_view_->SetMinHeight(kMinHeight); 373 tri_view_->SetMinHeight(kMinHeight);
374 374
375 EXPECT_EQ(kMinHeight, GetMinHeight(TriView::Container::START)); 375 EXPECT_EQ(kMinHeight, GetMinHeight(TriView::Container::START));
376 EXPECT_EQ(kMinHeight, GetMinHeight(TriView::Container::CENTER)); 376 EXPECT_EQ(kMinHeight, GetMinHeight(TriView::Container::CENTER));
377 EXPECT_EQ(kMinHeight, GetMinHeight(TriView::Container::END)); 377 EXPECT_EQ(kMinHeight, GetMinHeight(TriView::Container::END));
378 } 378 }
379 379
380 } // namespace ash 380 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/tri_view.cc ('k') | ash/system/tray/view_click_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698