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

Side by Side Diff: ash/test/ash_test_helper_unittest.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ash/test/display_manager_test_api.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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/test/ash_test_helper.h" 5 #include "ash/test/ash_test_helper.h"
6 6
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 #include "ui/aura/root_window.h" 8 #include "ui/aura/window_event_dispatcher.h"
9 #include "ui/views/widget/widget.h" 9 #include "ui/views/widget/widget.h"
10 10
11 // Tests for AshTestHelper. Who will watch the watchers? And who will test 11 // Tests for AshTestHelper. Who will watch the watchers? And who will test
12 // the tests? 12 // the tests?
13 class AshTestHelperTest : public testing::Test { 13 class AshTestHelperTest : public testing::Test {
14 public: 14 public:
15 AshTestHelperTest() {} 15 AshTestHelperTest() {}
16 virtual ~AshTestHelperTest() {} 16 virtual ~AshTestHelperTest() {}
17 17
18 virtual void SetUp() OVERRIDE { 18 virtual void SetUp() OVERRIDE {
(...skipping 29 matching lines...) Expand all
48 using views::Widget; 48 using views::Widget;
49 scoped_ptr<Widget> w1(new Widget); 49 scoped_ptr<Widget> w1(new Widget);
50 Widget::InitParams params; 50 Widget::InitParams params;
51 params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; 51 params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;
52 params.context = ash_test_helper()->CurrentContext(); 52 params.context = ash_test_helper()->CurrentContext();
53 w1->Init(params); 53 w1->Init(params);
54 w1->Show(); 54 w1->Show();
55 EXPECT_TRUE(w1->IsActive()); 55 EXPECT_TRUE(w1->IsActive());
56 EXPECT_TRUE(w1->IsVisible()); 56 EXPECT_TRUE(w1->IsVisible());
57 } 57 }
OLDNEW
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ash/test/display_manager_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698