| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/common/gpu/child_window_surface_win.h" | 5 #include "content/common/gpu/child_window_surface_win.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "base/win/scoped_hdc.h" | 8 #include "base/win/scoped_hdc.h" |
| 9 #include "base/win/wrapped_window_proc.h" | 9 #include "base/win/wrapped_window_proc.h" |
| 10 #include "content/common/gpu/gpu_channel_manager.h" | 10 #include "content/common/gpu/gpu_channel_manager.h" |
| 11 #include "content/common/gpu/gpu_channel_manager_delegate.h" | 11 #include "content/common/gpu/gpu_channel_manager_delegate.h" |
| 12 #include "content/common/gpu/gpu_messages.h" | 12 #include "gpu/ipc/common/gpu_messages.h" |
| 13 #include "ui/base/win/hidden_window.h" | 13 #include "ui/base/win/hidden_window.h" |
| 14 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
| 15 #include "ui/gfx/win/hwnd_util.h" | 15 #include "ui/gfx/win/hwnd_util.h" |
| 16 #include "ui/gl/egl_util.h" | 16 #include "ui/gl/egl_util.h" |
| 17 #include "ui/gl/gl_context.h" | 17 #include "ui/gl/gl_context.h" |
| 18 #include "ui/gl/gl_surface_egl.h" | 18 #include "ui/gl/gl_surface_egl.h" |
| 19 #include "ui/gl/scoped_make_current.h" | 19 #include "ui/gl/scoped_make_current.h" |
| 20 | 20 |
| 21 namespace content { | 21 namespace content { |
| 22 | 22 |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 rect_to_clear_ = gfx::Rect(); | 219 rect_to_clear_ = gfx::Rect(); |
| 220 } | 220 } |
| 221 } | 221 } |
| 222 | 222 |
| 223 ChildWindowSurfaceWin::~ChildWindowSurfaceWin() { | 223 ChildWindowSurfaceWin::~ChildWindowSurfaceWin() { |
| 224 gfx::SetWindowUserData(window_, nullptr); | 224 gfx::SetWindowUserData(window_, nullptr); |
| 225 DestroyWindow(window_); | 225 DestroyWindow(window_); |
| 226 } | 226 } |
| 227 | 227 |
| 228 } // namespace content | 228 } // namespace content |
| OLD | NEW |