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

Side by Side Diff: ash/wm/panels/panel_window_resizer_unittest.cc

Issue 2642113004: chromeos: Remove OS_WIN and OS_CHROMEOS ifdefs from ash/test (Closed)
Patch Set: Created 3 years, 11 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
« ash/test/ash_test_helper.cc ('K') | « ash/test/test_suite.cc ('k') | no next file » | 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/wm/panels/panel_window_resizer.h" 5 #include "ash/common/wm/panels/panel_window_resizer.h"
6 6
7 #include "ash/common/shelf/shelf_layout_manager.h" 7 #include "ash/common/shelf/shelf_layout_manager.h"
8 #include "ash/common/shelf/shelf_model.h" 8 #include "ash/common/shelf/shelf_model.h"
9 #include "ash/common/shelf/shelf_widget.h" 9 #include "ash/common/shelf/shelf_widget.h"
10 #include "ash/common/shelf/wm_shelf.h" 10 #include "ash/common/shelf/wm_shelf.h"
(...skipping 13 matching lines...) Expand all
24 #include "ash/wm/window_properties.h" 24 #include "ash/wm/window_properties.h"
25 #include "ash/wm/window_state_aura.h" 25 #include "ash/wm/window_state_aura.h"
26 #include "base/i18n/rtl.h" 26 #include "base/i18n/rtl.h"
27 #include "ui/aura/client/aura_constants.h" 27 #include "ui/aura/client/aura_constants.h"
28 #include "ui/aura/window_event_dispatcher.h" 28 #include "ui/aura/window_event_dispatcher.h"
29 #include "ui/base/hit_test.h" 29 #include "ui/base/hit_test.h"
30 #include "ui/base/ui_base_types.h" 30 #include "ui/base/ui_base_types.h"
31 #include "ui/views/widget/widget.h" 31 #include "ui/views/widget/widget.h"
32 #include "ui/wm/core/window_util.h" 32 #include "ui/wm/core/window_util.h"
33 33
34 #if defined(OS_WIN)
35 #include "base/win/windows_version.h"
36 #endif
37
38 namespace ash { 34 namespace ash {
39 35
40 class PanelWindowResizerTest : public test::AshTestBase { 36 class PanelWindowResizerTest : public test::AshTestBase {
41 public: 37 public:
42 PanelWindowResizerTest() {} 38 PanelWindowResizerTest() {}
43 ~PanelWindowResizerTest() override {} 39 ~PanelWindowResizerTest() override {}
44 40
45 void SetUp() override { 41 void SetUp() override {
46 AshTestBase::SetUp(); 42 AshTestBase::SetUp();
47 UpdateDisplay("600x400"); 43 UpdateDisplay("600x400");
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 INSTANTIATE_TEST_CASE_P(LtrRtl, 534 INSTANTIATE_TEST_CASE_P(LtrRtl,
539 PanelWindowResizerTextDirectionTest, 535 PanelWindowResizerTextDirectionTest,
540 testing::Bool()); 536 testing::Bool());
541 INSTANTIATE_TEST_CASE_P(NormalPanelPopup, 537 INSTANTIATE_TEST_CASE_P(NormalPanelPopup,
542 PanelWindowResizerTransientTest, 538 PanelWindowResizerTransientTest,
543 testing::Values(ui::wm::WINDOW_TYPE_NORMAL, 539 testing::Values(ui::wm::WINDOW_TYPE_NORMAL,
544 ui::wm::WINDOW_TYPE_PANEL, 540 ui::wm::WINDOW_TYPE_PANEL,
545 ui::wm::WINDOW_TYPE_POPUP)); 541 ui::wm::WINDOW_TYPE_POPUP));
546 542
547 } // namespace ash 543 } // namespace ash
OLDNEW
« ash/test/ash_test_helper.cc ('K') | « ash/test/test_suite.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698