Chromium Code Reviews| Index: ui/display/manager/json_converter.h |
| diff --git a/ui/display/manager/json_converter.h b/ui/display/manager/json_converter.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6415229d891159996e52e0bba92f3152fb32f204 |
| --- /dev/null |
| +++ b/ui/display/manager/json_converter.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2016 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 UI_DISPLAY_MANAGER_JSON_CONVERTER_H_ |
| +#define UI_DISPLAY_MANAGER_JSON_CONVERTER_H_ |
| + |
| +#include "ui/display/manager/display_manager_export.h" |
| + |
| +namespace base { |
| +class Value; |
| +} |
| + |
| +namespace display { |
| +class DisplayLayout; |
| + |
| +DISPLAY_MANAGER_EXPORT bool JsonToDisplayLayout(const base::Value& value, |
| + display::DisplayLayout* layout); |
|
kylechar
2017/03/08 15:28:15
You don't need the fully qualified display:: names
thanhph
2017/03/09 13:48:28
Done.
|
| + |
| +DISPLAY_MANAGER_EXPORT bool DisplayLayoutToJson( |
| + const display::DisplayLayout& layout, |
| + base::Value* value); |
| + |
| +} // namespace display |
| + |
| +#endif // UI_DISPLAY_MANAGER_JSON_CONVERTER_H_ |