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

Side by Side Diff: ui/views/widget/native_widget_aura_unittest.cc

Issue 1915363002: Rename gfx::Display/Screen to display::Display/Screen in views/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanups Created 4 years, 7 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 | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/tooltip_manager.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ui/views/widget/native_widget_aura.h" 5 #include "ui/views/widget/native_widget_aura.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "ui/aura/client/aura_constants.h" 13 #include "ui/aura/client/aura_constants.h"
14 #include "ui/aura/env.h" 14 #include "ui/aura/env.h"
15 #include "ui/aura/layout_manager.h" 15 #include "ui/aura/layout_manager.h"
16 #include "ui/aura/test/aura_test_base.h" 16 #include "ui/aura/test/aura_test_base.h"
17 #include "ui/aura/window.h" 17 #include "ui/aura/window.h"
18 #include "ui/aura/window_observer.h" 18 #include "ui/aura/window_observer.h"
19 #include "ui/aura/window_tree_host.h" 19 #include "ui/aura/window_tree_host.h"
20 #include "ui/events/event.h" 20 #include "ui/events/event.h"
21 #include "ui/events/event_utils.h" 21 #include "ui/events/event_utils.h"
22 #include "ui/gfx/screen.h"
23 #include "ui/views/layout/fill_layout.h" 22 #include "ui/views/layout/fill_layout.h"
24 #include "ui/views/test/widget_test.h" 23 #include "ui/views/test/widget_test.h"
25 #include "ui/views/widget/root_view.h" 24 #include "ui/views/widget/root_view.h"
26 #include "ui/views/widget/widget_delegate.h" 25 #include "ui/views/widget/widget_delegate.h"
27 #include "ui/wm/core/base_focus_rules.h" 26 #include "ui/wm/core/base_focus_rules.h"
28 #include "ui/wm/core/default_activation_client.h" 27 #include "ui/wm/core/default_activation_client.h"
29 #include "ui/wm/core/focus_controller.h" 28 #include "ui/wm/core/focus_controller.h"
30 29
31 namespace views { 30 namespace views {
32 namespace { 31 namespace {
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 EXPECT_FALSE(delegate.view()->HasFocus()); 596 EXPECT_FALSE(delegate.view()->HasFocus());
598 597
599 test_focus_rules()->set_can_activate(true); 598 test_focus_rules()->set_can_activate(true);
600 views::test::TestInitialFocusWidgetDelegate delegate2(root_window()); 599 views::test::TestInitialFocusWidgetDelegate delegate2(root_window());
601 delegate2.GetWidget()->Show(); 600 delegate2.GetWidget()->Show();
602 EXPECT_TRUE(delegate2.view()->HasFocus()); 601 EXPECT_TRUE(delegate2.view()->HasFocus());
603 } 602 }
604 603
605 } // namespace 604 } // namespace
606 } // namespace views 605 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/tooltip_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698