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

Unified Diff: ui/display/mojo/display_mode_mojo.cc

Issue 2636073002: Create mojom and StructTraits for ui/display/types/display_mode.cc (Closed)
Patch Set: Dont need to make changes in ui/ozone/common/BUILD.gn. Created 3 years, 11 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
Index: ui/display/mojo/display_mode_mojo.cc
diff --git a/ui/display/mojo/display_mode_mojo.cc b/ui/display/mojo/display_mode_mojo.cc
new file mode 100644
index 0000000000000000000000000000000000000000..4627cf21425d63cedc85ae783fa68bbe1688619c
--- /dev/null
+++ b/ui/display/mojo/display_mode_mojo.cc
@@ -0,0 +1,14 @@
+// Copyright 2017 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.
+
+#include "ui/display/mojo/display_mode_mojo.h"
+#include "ui/gfx/geometry/size.h"
+
+namespace display {
+
+DisplayModeMojo::DisplayModeMojo(): DisplayMode(gfx::Size(), false, 0.0) {};
kylechar 2017/01/24 21:15:07 No ; after.
thanhph1 2017/01/25 16:26:16 Done.
+
+DisplayModeMojo::~DisplayModeMojo() {}
+
+} // namespace display

Powered by Google App Engine
This is Rietveld 408576698