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

Unified Diff: ui/android/display_android.h

Issue 2416403002: Reland of Android: support multiple displays on C++ side (Closed)
Patch Set: Update a map of Displays from Java Created 4 years, 2 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: ui/android/display_android.h
diff --git a/tools/clang/plugins/tests/missing_ctor_ignored_base.cpp b/ui/android/display_android.h
similarity index 54%
copy from tools/clang/plugins/tests/missing_ctor_ignored_base.cpp
copy to ui/android/display_android.h
index 6c4ddd4fc6c4a27e9721be91971255bd6f8bfd15..84b90486b1a117f083d1e2bc7a303015f65bdf99 100644
--- a/tools/clang/plugins/tests/missing_ctor_ignored_base.cpp
+++ b/ui/android/display_android.h
@@ -2,10 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "missing_ctor_ignored_base.h"
+#include <jni.h>
-int main() {
- MissingCtorsWithIgnoredBase one;
- MissingCtorsWithIgnoredGrandBase two;
- return 0;
-}
+namespace ui {
+
+class DisplayAndroid {
+ public:
+ static bool RegisterDisplayAndroid(JNIEnv* env);
+};
+
+} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698