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

Unified Diff: blimp/client/app/android/blimp_view.cc

Issue 1965843002: Revert of Changed Blimp client to start with white screen before drawing contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: blimp/client/app/android/blimp_view.cc
diff --git a/blimp/client/app/android/blimp_view.cc b/blimp/client/app/android/blimp_view.cc
index 37db8ed0de5ae31539dfedb12b0bf5f8ba7cbc4f..62cf8958c979df1a234dc519b8897d27c8cc2710 100644
--- a/blimp/client/app/android/blimp_view.cc
+++ b/blimp/client/app/android/blimp_view.cc
@@ -7,6 +7,7 @@
#include <android/native_window_jni.h>
#include "blimp/client/app/android/blimp_client_session_android.h"
+#include "blimp/client/app/android/blimp_compositor_manager_android.h"
#include "jni/BlimpView_jni.h"
#include "ui/events/android/motion_event_android.h"
#include "ui/gfx/geometry/size.h"
@@ -47,11 +48,9 @@
float dp_to_px,
RenderWidgetFeature* render_widget_feature)
: device_scale_factor_(dp_to_px),
- compositor_manager_(
- BlimpCompositorManagerAndroid::Create(real_size,
- size,
- render_widget_feature,
- this)),
+ compositor_manager_(BlimpCompositorManagerAndroid::Create(real_size,
+ size,
+ render_widget_feature)),
current_surface_format_(0),
window_(gfx::kNullAcceleratedWidget) {
java_obj_.Reset(env, jobj);
@@ -175,10 +174,5 @@
return compositor_manager_->OnTouchEvent(event);
}
-void BlimpView::OnSwapBuffersCompleted() {
- JNIEnv* env = base::android::AttachCurrentThread();
- Java_BlimpView_onSwapBuffersCompleted(env, java_obj_.obj());
-}
-
} // namespace client
} // namespace blimp
« no previous file with comments | « blimp/client/app/android/blimp_view.h ('k') | blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698