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

Side by Side Diff: gpu/ipc/service/child_window_win.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "gpu/ipc/service/child_window_win.h" 5 #include "gpu/ipc/service/child_window_win.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/message_loop/message_loop.h"
11 #include "base/threading/thread.h" 12 #include "base/threading/thread.h"
12 #include "base/win/scoped_hdc.h" 13 #include "base/win/scoped_hdc.h"
13 #include "base/win/wrapped_window_proc.h" 14 #include "base/win/wrapped_window_proc.h"
14 #include "gpu/ipc/common/gpu_messages.h" 15 #include "gpu/ipc/common/gpu_messages.h"
15 #include "gpu/ipc/service/gpu_channel_manager.h" 16 #include "gpu/ipc/service/gpu_channel_manager.h"
16 #include "gpu/ipc/service/gpu_channel_manager_delegate.h" 17 #include "gpu/ipc/service/gpu_channel_manager_delegate.h"
17 #include "ui/gfx/native_widget_types.h" 18 #include "ui/gfx/native_widget_types.h"
18 #include "ui/gfx/win/hwnd_util.h" 19 #include "ui/gfx/win/hwnd_util.h"
19 #include "ui/gfx/win/window_impl.h" 20 #include "ui/gfx/win/window_impl.h"
20 21
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 base::Bind(&DestroySharedData, base::Passed(std::move(shared_data_)))); 207 base::Bind(&DestroySharedData, base::Passed(std::move(shared_data_))));
207 } 208 }
208 } 209 }
209 210
210 scoped_refptr<base::TaskRunner> ChildWindowWin::GetTaskRunnerForTesting() { 211 scoped_refptr<base::TaskRunner> ChildWindowWin::GetTaskRunnerForTesting() {
211 DCHECK(shared_data_); 212 DCHECK(shared_data_);
212 return shared_data_->thread.task_runner(); 213 return shared_data_->thread.task_runner();
213 } 214 }
214 215
215 } // namespace gpu 216 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698