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

Unified Diff: blimp/client/compositor/blimp_compositor.h

Issue 1551683002: [Blimp Client] Land CL 1528243002 (Add a basic linux client for Blimp) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/blimp_startup.cc ('k') | blimp/client/linux/blimp_display_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/compositor/blimp_compositor.h
diff --git a/blimp/client/compositor/blimp_compositor.h b/blimp/client/compositor/blimp_compositor.h
index 05401c1f5d25d285d2eb89648718095e7f1bcd66..7245e8ac27774708669c8a9946a444675fb2f1ca 100644
--- a/blimp/client/compositor/blimp_compositor.h
+++ b/blimp/client/compositor/blimp_compositor.h
@@ -46,6 +46,11 @@ class BLIMP_CLIENT_EXPORT BlimpCompositor
public RenderWidgetFeature::RenderWidgetFeatureDelegate,
public BlimpInputManagerClient {
public:
+ // |dp_to_px| is the scale factor required to move from dp (device pixels) to
+ // px. See https://developer.android.com/guide/practices/screens_support.html
+ // for more details.
+ BlimpCompositor(float dp_to_px, RenderWidgetFeature* render_widget_feature);
+
~BlimpCompositor() override;
// Default layer settings for all Blimp layer instances.
@@ -78,11 +83,6 @@ class BLIMP_CLIENT_EXPORT BlimpCompositor
bool OnTouchEvent(const ui::MotionEvent& motion_event);
protected:
- // |dp_to_px| is the scale factor required to move from dp (device pixels) to
- // px. See https://developer.android.com/guide/practices/screens_support.html
- // for more details.
- BlimpCompositor(float dp_to_px, RenderWidgetFeature* render_widget_feature);
-
// Populates the cc::LayerTreeSettings used by the cc::LayerTreeHost. Can be
// overridden to provide custom settings parameters.
virtual void GenerateLayerTreeSettings(cc::LayerTreeSettings* settings);
« no previous file with comments | « blimp/client/blimp_startup.cc ('k') | blimp/client/linux/blimp_display_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698