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

Unified Diff: ui/views/test/desktop_screen_x11_test_api.h

Issue 1534563002: Move to DesktopScreenX11::UpdateDeviceScaleFactor to TestApi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win build Created 5 years 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 | « content/shell/browser/shell.cc ('k') | ui/views/test/desktop_screen_x11_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/desktop_screen_x11_test_api.h
diff --git a/ui/views/test/desktop_screen_x11_test_api.h b/ui/views/test/desktop_screen_x11_test_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..394ce0f804a0be534cd011eec4a5456c50d784f7
--- /dev/null
+++ b/ui/views/test/desktop_screen_x11_test_api.h
@@ -0,0 +1,26 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_VIEWS_TEST_DESKTOP_SCREEN_X11_TEST_API_H_
+#define UI_VIEWS_TEST_DESKTOP_SCREEN_X11_TEST_API_H_
+
+#include "base/macros.h"
+
+namespace views {
+namespace test {
+
+class DesktopScreenX11TestApi {
+ public:
+ // Updates the displays. Typically used to reflect customized device
+ // scale factor in displays.
+ static void UpdateDisplays();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DesktopScreenX11TestApi);
+};
+
+} // namespace test
+} // namespace views
+
+#endif // UI_VIEWS_TEST_DESKTOP_SCREEN_X11_TEST_API_H_
« no previous file with comments | « content/shell/browser/shell.cc ('k') | ui/views/test/desktop_screen_x11_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698