// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_VR_ELEMENTS_SCALED_DEPTH_ADJUSTER_H_ #define CHROME_BROWSER_VR_ELEMENTS_SCALED_DEPTH_ADJUSTER_H_ #include <sstream> #include "chrome/browser/vr/elements/ui_element.h" #include "chrome/browser/vr/vr_ui_export.h" #include "ui/gfx/geometry/transform.h" namespace vr { // A Scaler adjusts the depth of its descendents by applying a scale. This // permits dimensions in the subtree to be expressed in DM directly. Its main // contribution is a tailored local transform that accounts for adjustments made // by other ScaledDepthAdjuster elements on its ancestor chain. class VR_UI_EXPORT ScaledDepthAdjuster : public UiElement { … }; } // namespace vr #endif // CHROME_BROWSER_VR_ELEMENTS_SCALED_DEPTH_ADJUSTER_H_