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

Side by Side Diff: ash/wm/caption_buttons/frame_caption_button_container_view_unittest.cc

Issue 23498031: Move code related to the window controls to ash/wm/caption_buttons (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 3 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/workspace/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 "base/command_line.h" 9 #include "base/command_line.h"
10 #include "grit/ash_resources.h" 10 #include "grit/ash_resources.h"
11 #include "ui/aura/root_window.h" 11 #include "ui/aura/root_window.h"
12 #include "ui/base/resource/resource_bundle.h" 12 #include "ui/base/resource/resource_bundle.h"
13 #include "ui/views/border.h" 13 #include "ui/views/border.h"
14 #include "ui/views/controls/button/custom_button.h" 14 #include "ui/views/controls/button/custom_button.h"
15 #include "ui/views/controls/button/image_button.h" 15 #include "ui/views/controls/button/image_button.h"
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 container.Layout(); 316 container.Layout();
317 FrameCaptionButtonContainerView::TestApi t(&container); 317 FrameCaptionButtonContainerView::TestApi t(&container);
318 EXPECT_TRUE(t.minimize_button()->visible()); 318 EXPECT_TRUE(t.minimize_button()->visible());
319 EXPECT_TRUE(t.size_button()->visible()); 319 EXPECT_TRUE(t.size_button()->visible());
320 EXPECT_TRUE(t.close_button()->visible()); 320 EXPECT_TRUE(t.close_button()->visible());
321 EXPECT_TRUE(CheckButtonsAtEdges( 321 EXPECT_TRUE(CheckButtonsAtEdges(
322 &container, *t.minimize_button(), *t.close_button())); 322 &container, *t.minimize_button(), *t.close_button()));
323 } 323 }
324 324
325 } // namespace ash 325 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/caption_buttons/frame_caption_button_container_view.cc ('k') | ash/wm/caption_buttons/frame_maximize_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698