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

Unified Diff: chromecast/public/size.h

Issue 1104853002: Adds public API and loads Cast OSD plane implementation from shared lib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: chromecast/public/size.h
diff --git a/chromecast/public/size.h b/chromecast/public/size.h
new file mode 100644
index 0000000000000000000000000000000000000000..caa695ea427fbda09eea94383d8edfda78dc9e94
--- /dev/null
+++ b/chromecast/public/size.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2015 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 CHROMECAST_PUBLIC_SIZE_H_
+#define CHROMECAST_PUBLIC_SIZE_H_
+
+namespace chromecast {
+
+struct Size {
+ Size(int w, int h) : width(w), height(h) {}
+ int width;
+ int height;
+};
+
+} // namespace chromecast
+
+#endif // CHROMECAST_PUBLIC_SIZE_H

Powered by Google App Engine
This is Rietveld 408576698