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

Unified Diff: ui/android/screen_android_for_tests.h

Issue 2416403002: Reland of Android: support multiple displays on C++ side (Closed)
Patch Set: Took web_contents_view_android.cc changes away, addressed comments Created 4 years, 1 month 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: ui/android/screen_android_for_tests.h
diff --git a/ui/android/screen_android_for_tests.h b/ui/android/screen_android_for_tests.h
new file mode 100644
index 0000000000000000000000000000000000000000..3026ea4b7635d2e0eaf3e1a412ce3e79828fa94c
--- /dev/null
+++ b/ui/android/screen_android_for_tests.h
@@ -0,0 +1,22 @@
+// Copyright 2016 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_ANDROID_SCREEN_ANDROID_FOR_TESTS_H_
+#define UI_ANDROID_SCREEN_ANDROID_FOR_TESTS_H_
+
+#include "ui/android/ui_android_export.h"
+
+namespace display {
+class Screen;
+}
+
+namespace ui {
+
+// Creates Screen containing one dummy Display that does not
+// communicate with Java layer.
+UI_ANDROID_EXPORT display::Screen* CreateScreenAndroidForTests();
+
+} // namespace display
+
+#endif // UI_ANDROID_SCREEN_ANDROID_FOR_TESTS_H_

Powered by Google App Engine
This is Rietveld 408576698