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

Unified Diff: ui/gfx/native_widget_types.h

Issue 1365563002: Make channel preemption not require view contexts for hookup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wakeup_gpu
Patch Set: . Created 5 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
Index: ui/gfx/native_widget_types.h
diff --git a/ui/gfx/native_widget_types.h b/ui/gfx/native_widget_types.h
index 0ce333c5507ddee13243574dd7856e5cc9f944f3..435eed8ce2f233f248c2159b1f21f109a3300207 100644
--- a/ui/gfx/native_widget_types.h
+++ b/ui/gfx/native_widget_types.h
@@ -210,7 +210,7 @@ typedef intptr_t NativeViewId;
typedef unsigned long PluginWindowHandle;
const PluginWindowHandle kNullPluginWindow = 0;
#elif defined(OS_ANDROID)
- typedef uint64 PluginWindowHandle;
+ typedef uint32 PluginWindowHandle;
const PluginWindowHandle kNullPluginWindow = 0;
#elif defined(USE_OZONE)
typedef intptr_t PluginWindowHandle;
@@ -230,15 +230,9 @@ enum SurfaceType {
};
struct GLSurfaceHandle {
- GLSurfaceHandle()
- : handle(kNullPluginWindow),
- transport_type(EMPTY),
- parent_client_id(0) {
- }
+ GLSurfaceHandle() : handle(kNullPluginWindow), transport_type(EMPTY) {}
GLSurfaceHandle(PluginWindowHandle handle_, SurfaceType transport_)
- : handle(handle_),
- transport_type(transport_),
- parent_client_id(0) {
+ : handle(handle_), transport_type(transport_) {
DCHECK(!is_null() || handle == kNullPluginWindow);
DCHECK(transport_type != NULL_TRANSPORT ||
handle == kNullPluginWindow);
@@ -249,7 +243,6 @@ struct GLSurfaceHandle {
}
PluginWindowHandle handle;
SurfaceType transport_type;
- uint32 parent_client_id;
};
// AcceleratedWidget provides a surface to compositors to paint pixels.

Powered by Google App Engine
This is Rietveld 408576698