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: ui/views/bubble/bubble_frame_view_unittest.cc

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 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
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/gfx/insets.h" 5 #include "ui/gfx/geometry/insets.h"
6 #include "ui/views/bubble/bubble_border.h" 6 #include "ui/views/bubble/bubble_border.h"
7 #include "ui/views/bubble/bubble_frame_view.h" 7 #include "ui/views/bubble/bubble_frame_view.h"
8 #include "ui/views/test/views_test_base.h" 8 #include "ui/views/test/views_test_base.h"
9 #include "ui/views/widget/widget.h" 9 #include "ui/views/widget/widget.h"
10 10
11 namespace views { 11 namespace views {
12 12
13 typedef ViewsTestBase BubbleFrameViewTest; 13 typedef ViewsTestBase BubbleFrameViewTest;
14 14
15 namespace { 15 namespace {
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 gfx::Rect(900, 900, 50, 50), // |anchor_rect| 343 gfx::Rect(900, 900, 50, 50), // |anchor_rect|
344 gfx::Size(500, 500), // |client_size| 344 gfx::Size(500, 500), // |client_size|
345 true); // |adjust_if_offscreen| 345 true); // |adjust_if_offscreen|
346 EXPECT_EQ(BubbleBorder::RIGHT_CENTER, frame.bubble_border()->arrow()); 346 EXPECT_EQ(BubbleBorder::RIGHT_CENTER, frame.bubble_border()->arrow());
347 EXPECT_EQ(window_bounds.bottom(), 1000); 347 EXPECT_EQ(window_bounds.bottom(), 1000);
348 EXPECT_EQ(window_bounds.y() + 348 EXPECT_EQ(window_bounds.y() +
349 frame.bubble_border()->GetArrowOffset(window_bounds.size()), 925); 349 frame.bubble_border()->GetArrowOffset(window_bounds.size()), 925);
350 } 350 }
351 351
352 } // namespace views 352 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698