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); |