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

Side by Side Diff: ash/wm/caption_buttons/frame_caption_button_container_view_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
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/wm/caption_buttons/frame_caption_button_container_view.h" 5 #include "ash/wm/caption_buttons/frame_caption_button_container_view.h"
6 6
7 #include "ash/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/test/ash_test_base.h" 8 #include "ash/test/ash_test_base.h"
9 #include "ash/wm/caption_buttons/frame_caption_button.h" 9 #include "ash/wm/caption_buttons/frame_caption_button.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "grit/ash_resources.h" 11 #include "grit/ash_resources.h"
12 #include "ui/aura/root_window.h" 12 #include "ui/aura/window_event_dispatcher.h"
13 #include "ui/base/resource/resource_bundle.h" 13 #include "ui/base/resource/resource_bundle.h"
14 #include "ui/views/border.h" 14 #include "ui/views/border.h"
15 #include "ui/views/widget/widget.h" 15 #include "ui/views/widget/widget.h"
16 #include "ui/views/widget/widget_delegate.h" 16 #include "ui/views/widget/widget_delegate.h"
17 17
18 namespace ash { 18 namespace ash {
19 19
20 namespace { 20 namespace {
21 21
22 class TestWidgetDelegate : public views::WidgetDelegateView { 22 class TestWidgetDelegate : public views::WidgetDelegateView {
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 container.Layout(); 267 container.Layout();
268 FrameCaptionButtonContainerView::TestApi t(&container); 268 FrameCaptionButtonContainerView::TestApi t(&container);
269 EXPECT_TRUE(t.minimize_button()->visible()); 269 EXPECT_TRUE(t.minimize_button()->visible());
270 EXPECT_TRUE(t.size_button()->visible()); 270 EXPECT_TRUE(t.size_button()->visible());
271 EXPECT_TRUE(t.close_button()->visible()); 271 EXPECT_TRUE(t.close_button()->visible());
272 EXPECT_TRUE(CheckButtonsAtEdges( 272 EXPECT_TRUE(CheckButtonsAtEdges(
273 &container, *t.minimize_button(), *t.close_button())); 273 &container, *t.minimize_button(), *t.close_button()));
274 } 274 }
275 275
276 } // namespace ash 276 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/boot_splash_screen_chromeos.cc ('k') | ash/wm/caption_buttons/frame_maximize_button_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698