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

Unified Diff: content/browser/renderer_host/input/web_input_event_unittest.cc

Issue 1927463002: Rename gfx::Display/Screen to display::Display/Screen in content/ (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
Index: content/browser/renderer_host/input/web_input_event_unittest.cc
diff --git a/content/browser/renderer_host/input/web_input_event_unittest.cc b/content/browser/renderer_host/input/web_input_event_unittest.cc
index b05608fafef8ec80abf0a413852726ddb8973a23..2abe1e1646c3724ff01db6afa9ff3e7211494ee7 100644
--- a/content/browser/renderer_host/input/web_input_event_unittest.cc
+++ b/content/browser/renderer_host/input/web_input_event_unittest.cc
@@ -6,8 +6,8 @@
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
+#include "ui/display/display.h"
#include "ui/events/event_constants.h"
-#include "ui/gfx/display.h"
#include "ui/gfx/switches.h"
#if defined(OS_WIN)
@@ -27,7 +27,7 @@ TEST(WebInputEventBuilderTest, TestMouseEventScale) {
if (base::win::GetVersion() < base::win::VERSION_WIN7)
return;
- gfx::Display::ResetForceDeviceScaleFactorForTesting();
+ display::Display::ResetForceDeviceScaleFactorForTesting();
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
command_line->AppendSwitchASCII(switches::kForceDeviceScaleFactor, "2");
@@ -52,7 +52,7 @@ TEST(WebInputEventBuilderTest, TestMouseEventScale) {
EXPECT_EQ(100, mouse_move.globalY);
command_line->AppendSwitchASCII(switches::kForceDeviceScaleFactor, "1");
- gfx::Display::ResetForceDeviceScaleFactorForTesting();
+ display::Display::ResetForceDeviceScaleFactorForTesting();
}
#endif
« no previous file with comments | « content/browser/renderer_host/dip_util.cc ('k') | content/browser/renderer_host/render_widget_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698