| // Copyright (c) 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CHROME_BROWSER_APPS_APP_SERVICE_DIP_PX_UTIL_H_ |
| #define CHROME_BROWSER_APPS_APP_SERVICE_DIP_PX_UTIL_H_ |
| |
| // Utility functions for converting between DIP (device independent pixels) and |
| // PX (physical pixels). |
| |
| namespace apps { |
| |
| int ConvertDipToPx(int dip); |
| int ConvertPxToDip(int px); |
| |
| } // namespace apps |
| |
| #endif // CHROME_BROWSER_APPS_APP_SERVICE_DIP_PX_UTIL_H_ |