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

Unified Diff: chrome/browser/ui/autofill/popup_view_common_unittest.cc

Issue 1920263003: Rename gfx::Display/Screen to display::Display/Screen in chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/autofill/popup_view_common.cc ('k') | chrome/browser/ui/ime/ime_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/popup_view_common_unittest.cc
diff --git a/chrome/browser/ui/autofill/popup_view_common_unittest.cc b/chrome/browser/ui/autofill/popup_view_common_unittest.cc
index a71c25f9d426e14a264db304e701be145844a763..003d37dd254b67f6f1187034348a093e61467967 100644
--- a/chrome/browser/ui/autofill/popup_view_common_unittest.cc
+++ b/chrome/browser/ui/autofill/popup_view_common_unittest.cc
@@ -11,7 +11,7 @@
#include "base/macros.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "content/public/browser/web_contents.h"
-#include "ui/gfx/display.h"
+#include "ui/display/display.h"
#include "ui/gfx/geometry/rect.h"
namespace autofill {
@@ -21,16 +21,17 @@ namespace {
// Test class which overrides specific behavior for testing.
class TestPopupViewCommon : public PopupViewCommon {
public:
- explicit TestPopupViewCommon(const gfx::Display& display)
+ explicit TestPopupViewCommon(const display::Display& display)
: display_(display) {}
- gfx::Display GetDisplayNearestPoint(const gfx::Point& point,
- gfx::NativeView container_view) override {
+ display::Display GetDisplayNearestPoint(
+ const gfx::Point& point,
+ gfx::NativeView container_view) override {
return display_;
}
private:
- gfx::Display display_;
+ display::Display display_;
};
} // namespace
@@ -49,8 +50,8 @@ TEST_F(PopupViewCommonTest, CalculatePopupBounds) {
int desired_height = 16;
// Set up the visible screen space.
- gfx::Display display(0,
- gfx::Rect(0, 0, 2 * desired_width, 2 * desired_height));
+ display::Display display(
+ 0, gfx::Rect(0, 0, 2 * desired_width, 2 * desired_height));
TestPopupViewCommon view_common(display);
struct {
« no previous file with comments | « chrome/browser/ui/autofill/popup_view_common.cc ('k') | chrome/browser/ui/ime/ime_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698