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

Side by Side Diff: chrome/browser/ui/autofill/popup_controller_common_unittest.cc

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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 | « chrome/browser/ui/autofill/popup_controller_common.cc ('k') | chrome/browser/ui/browser.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/ui/autofill/popup_controller_common.h" 5 #include "chrome/browser/ui/autofill/popup_controller_common.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "chrome/browser/ui/autofill/test_popup_controller_common.h" 8 #include "chrome/browser/ui/autofill/test_popup_controller_common.h"
9 #include "chrome/test/base/chrome_render_view_host_test_harness.h" 9 #include "chrome/test/base/chrome_render_view_host_test_harness.h"
10 #include "ui/gfx/display.h" 10 #include "ui/gfx/display.h"
11 #include "ui/gfx/rect.h" 11 #include "ui/gfx/geometry/rect.h"
12 12
13 namespace autofill { 13 namespace autofill {
14 14
15 class PopupControllerBaseTest : public ChromeRenderViewHostTestHarness { 15 class PopupControllerBaseTest : public ChromeRenderViewHostTestHarness {
16 public: 16 public:
17 PopupControllerBaseTest() {} 17 PopupControllerBaseTest() {}
18 ~PopupControllerBaseTest() override {} 18 ~PopupControllerBaseTest() override {}
19 19
20 private: 20 private:
21 DISALLOW_COPY_AND_ASSIGN(PopupControllerBaseTest); 21 DISALLOW_COPY_AND_ASSIGN(PopupControllerBaseTest);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 gfx::Rect actual_popup_bounds = 76 gfx::Rect actual_popup_bounds =
77 popup_controller->GetPopupBounds(desired_width, desired_height); 77 popup_controller->GetPopupBounds(desired_width, desired_height);
78 78
79 EXPECT_EQ(expected_popup_bounds[i].ToString(), 79 EXPECT_EQ(expected_popup_bounds[i].ToString(),
80 actual_popup_bounds.ToString()) << 80 actual_popup_bounds.ToString()) <<
81 "Popup bounds failed to match for test " << i; 81 "Popup bounds failed to match for test " << i;
82 } 82 }
83 } 83 }
84 84
85 } // namespace autofill 85 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/popup_controller_common.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698