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

Unified Diff: ui/gfx/native_widget_types.h

Issue 615503004: Remove TextureImageTransportSurface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NOTREACHED -> NOTIMPLEMENTED Created 6 years, 3 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 | « content/test/test_render_view_host.cc ('k') | no next file » | 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 4a4fb33ada47b4c18017756b161320cf3f3dacca..4341b1ccf89555bbb6b87e14714e9f3dba55cff5 100644
--- a/ui/gfx/native_widget_types.h
+++ b/ui/gfx/native_widget_types.h
@@ -217,9 +217,8 @@ typedef intptr_t NativeViewId;
enum SurfaceType {
EMPTY,
NATIVE_DIRECT,
- NATIVE_TRANSPORT,
- TEXTURE_TRANSPORT,
- SURFACE_TYPE_LAST = TEXTURE_TRANSPORT
+ NULL_TRANSPORT,
+ SURFACE_TYPE_LAST = NULL_TRANSPORT
};
struct GLSurfaceHandle {
@@ -233,13 +232,12 @@ struct GLSurfaceHandle {
transport_type(transport_),
parent_client_id(0) {
DCHECK(!is_null() || handle == kNullPluginWindow);
- DCHECK(transport_type != TEXTURE_TRANSPORT ||
+ DCHECK(transport_type != NULL_TRANSPORT ||
handle == kNullPluginWindow);
}
bool is_null() const { return transport_type == EMPTY; }
bool is_transport() const {
- return transport_type == NATIVE_TRANSPORT ||
- transport_type == TEXTURE_TRANSPORT;
+ return transport_type == NULL_TRANSPORT;
}
PluginWindowHandle handle;
SurfaceType transport_type;
« no previous file with comments | « content/test/test_render_view_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698