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

Unified Diff: ui/android/window_android.h

Issue 2514633002: Revert of Android: support multiple displays on C++ side (Closed)
Patch Set: 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
« no previous file with comments | « ui/android/ui_android_jni_registrar.cc ('k') | ui/android/window_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/window_android.h
diff --git a/ui/android/window_android.h b/ui/android/window_android.h
index 05279ced4c92a2a9e8827b15c67e0c94187a9e11..b55ba16cfa2c4cd36cddf0ad33951e98363326fa 100644
--- a/ui/android/window_android.h
+++ b/ui/android/window_android.h
@@ -18,10 +18,6 @@
#include "ui/android/view_android.h"
#include "ui/gfx/geometry/vector2d_f.h"
-namespace display {
-class DisplayAndroidManager;
-}
-
namespace ui {
class WindowAndroidCompositor;
@@ -31,7 +27,7 @@
// WindowAndroid is also the root of a ViewAndroid tree.
class UI_ANDROID_EXPORT WindowAndroid : public ViewAndroid {
public:
- WindowAndroid(JNIEnv* env, jobject obj, int display_id);
+ WindowAndroid(JNIEnv* env, jobject obj);
void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
@@ -84,18 +80,12 @@
void DestroyForTesting();
private:
- friend class DisplayAndroidManager;
-
~WindowAndroid() override;
// ViewAndroid overrides.
WindowAndroid* GetWindowAndroid() const override;
- // The ID of the display that this window belongs to.
- int display_id() const { return display_id_; }
-
base::android::ScopedJavaGlobalRef<jobject> java_window_;
- const int display_id_;
gfx::Vector2dF content_offset_;
WindowAndroidCompositor* compositor_;
« no previous file with comments | « ui/android/ui_android_jni_registrar.cc ('k') | ui/android/window_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698