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

Side by Side Diff: content/common/gpu/child_window_surface_win.cc

Issue 1809183002: gpu_messages.h => gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make win_clang_x64_dbg happy by making command_buffer_traits an alias to gpu component on compnet b… Created 4 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/common/gpu/child_window_surface_win.h ('k') | content/common/gpu/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698