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

Unified Diff: ui/display/manager/json_converter.h

Issue 2733313002: Move display preference code from ash/display/ to ui/display/manager/. (Closed)
Patch Set: . Created 3 years, 9 months 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 | « ui/display/manager/display_pref_util.h ('k') | ui/display/manager/json_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..28655b8019e79ed317e869f325c681e5ce9e9adc
--- /dev/null
+++ b/ui/display/manager/json_converter.h
@@ -0,0 +1,22 @@
+// 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;
kylechar 2017/03/09 13:59:25 What happened to all the new lines in the original
thanhph 2017/03/09 14:16:08 Done, I added them back.
+DISPLAY_MANAGER_EXPORT bool JsonToDisplayLayout(const base::Value& value,
+ DisplayLayout* layout);
+DISPLAY_MANAGER_EXPORT bool DisplayLayoutToJson(const DisplayLayout& layout,
+ base::Value* value);
+} // namespace display
+
+#endif // UI_DISPLAY_MANAGER_JSON_CONVERTER_H_
« no previous file with comments | « ui/display/manager/display_pref_util.h ('k') | ui/display/manager/json_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698