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

Side by Side Diff: chromecast/public/graphics_types.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: Fix some nits 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 unified diff | Download patch
« no previous file with comments | « chromecast/public/cast_egl_platform.h ('k') | chromecast/public/osd_plane.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMECAST_PUBLIC_GRAPHICS_TYPES_H_
6 #define CHROMECAST_PUBLIC_GRAPHICS_TYPES_H_
7
8 namespace chromecast {
9
10 struct Rect {
11 Rect(int w, int h) : x(0), y(0), width(w), height(h) {}
12 Rect(int arg_x, int arg_y, int w, int h)
13 : x(arg_x), y(arg_y), width(w), height(h) {}
14
15 int x;
16 int y;
17 int width;
18 int height;
19 };
20
21 struct Size {
22 Size(int w, int h) : width(w), height(h) {}
23
24 int width;
25 int height;
26 };
27
28 } // namespace chromecast
29
30 #endif // CHROMECAST_PUBLIC_GRAPHICS_TYPES_H_
OLDNEW
« no previous file with comments | « chromecast/public/cast_egl_platform.h ('k') | chromecast/public/osd_plane.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698