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

Unified Diff: ui/gfx/native_widget_types.h

Issue 223253006: Exclude references to EGL and relevant files when building chromecast as the current version of chr… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add necessary EGL name declarations/definitions and native widget Created 6 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 | « no previous file | ui/gl/gl_bindings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_widget_types.h
diff --git a/ui/gfx/native_widget_types.h b/ui/gfx/native_widget_types.h
index 2c3e1968a4339b5553b05f9cb177c20a5817d167..12779a37deaa63a814b75f65c6eb70ea63629d47 100644
--- a/ui/gfx/native_widget_types.h
+++ b/ui/gfx/native_widget_types.h
@@ -144,6 +144,12 @@ typedef ui::ViewAndroid* NativeView;
typedef ui::WindowAndroid* NativeWindow;
typedef void* NativeRegion;
typedef jobject NativeEvent;
+#elif defined(CHROMECAST_BUILD)
+typedef void* NativeCursor;
+typedef void* NativeView;
+typedef void* NativeWindow;
+typedef void* NativeRegion;
+typedef void* NativeEvent;
#endif
#if defined(OS_WIN)
@@ -275,6 +281,9 @@ const AcceleratedWidget kNullAcceleratedWidget = 0;
#elif defined(USE_OZONE)
typedef intptr_t AcceleratedWidget;
const AcceleratedWidget kNullAcceleratedWidget = 0;
+#elif defined(CHROMECAST_BUILD)
+typedef uint64 AcceleratedWidget;
+const AcceleratedWidget kNullAcceleratedWidget = 0;
#else
#error unknown platform
#endif
« no previous file with comments | « no previous file | ui/gl/gl_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698