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

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

Issue 1962393004: Added a debug info UI for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added empty implementation for linux client 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
« no previous file with comments | « blimp/client/app/android/blimp_client_session_android.cc ('k') | blimp/client/app/android/blimp_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/app/android/blimp_view.h
diff --git a/blimp/client/app/android/blimp_view.h b/blimp/client/app/android/blimp_view.h
index 7c5e1593bbbf0580b79b73915c1c1812eb6724e9..8bab0f344de2855d0a0f1a683cbba56d291fda13 100644
--- a/blimp/client/app/android/blimp_view.h
+++ b/blimp/client/app/android/blimp_view.h
@@ -17,6 +17,8 @@ class Size;
}
namespace blimp {
+class BlimpConnectionStatistics;
+
namespace client {
class RenderWidgetFeature;
@@ -38,7 +40,8 @@ class BlimpView : public BlimpCompositorManagerClient {
const gfx::Size& real_size,
const gfx::Size& size,
float dp_to_px,
- RenderWidgetFeature* render_widget_feature);
+ RenderWidgetFeature* render_widget_feature,
+ BlimpConnectionStatistics* blimp_connection_statistics);
// Methods called from Java via JNI.
void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& jobj);
@@ -94,6 +97,7 @@ class BlimpView : public BlimpCompositorManagerClient {
// BlimpCompositorManagerClient implementation.
void OnSwapBuffersCompleted() override;
+ void DidCommitAndDrawFrame() override;
// Reference to the Java object which owns this class.
base::android::ScopedJavaGlobalRef<jobject> java_obj_;
@@ -108,6 +112,8 @@ class BlimpView : public BlimpCompositorManagerClient {
gfx::AcceleratedWidget window_;
+ BlimpConnectionStatistics* blimp_connection_statistics_;
+
DISALLOW_COPY_AND_ASSIGN(BlimpView);
};
« no previous file with comments | « blimp/client/app/android/blimp_client_session_android.cc ('k') | blimp/client/app/android/blimp_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698