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

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 2184943002: services/ui: Move some files into the client lib. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrome-gpu-in-mus-windows
Patch Set: . Created 4 years, 4 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
« no previous file with comments | « content/renderer/BUILD.gn ('k') | mash/login/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/renderer/render_thread_impl.h" 5 #include "content/renderer/render_thread_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <utility> 10 #include <utility>
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 #endif 196 #endif
197 197
198 #ifdef ENABLE_VTUNE_JIT_INTERFACE 198 #ifdef ENABLE_VTUNE_JIT_INTERFACE
199 #include "v8/src/third_party/vtune/v8-vtune.h" 199 #include "v8/src/third_party/vtune/v8-vtune.h"
200 #endif 200 #endif
201 201
202 #if defined(USE_AURA) 202 #if defined(USE_AURA)
203 #include "content/public/common/mojo_shell_connection.h" 203 #include "content/public/common/mojo_shell_connection.h"
204 #include "content/renderer/mus/render_widget_mus_connection.h" 204 #include "content/renderer/mus/render_widget_mus_connection.h"
205 #include "content/renderer/mus/render_widget_window_tree_client_factory.h" 205 #include "content/renderer/mus/render_widget_window_tree_client_factory.h"
206 #include "services/ui/common/gpu_service.h" 206 #include "services/ui/public/cpp/gpu_service.h"
207 #endif 207 #endif
208 208
209 #if defined(ENABLE_IPC_FUZZER) 209 #if defined(ENABLE_IPC_FUZZER)
210 #include "content/common/external_ipc_dumper.h" 210 #include "content/common/external_ipc_dumper.h"
211 #endif 211 #endif
212 212
213 using base::ThreadRestrictions; 213 using base::ThreadRestrictions;
214 using blink::WebDocument; 214 using blink::WebDocument;
215 using blink::WebFrame; 215 using blink::WebFrame;
216 using blink::WebNetworkStateNotifier; 216 using blink::WebNetworkStateNotifier;
(...skipping 2024 matching lines...) Expand 10 before | Expand all | Expand 10 after
2241 v8_memory_pressure_level == v8::MemoryPressureLevel::kCritical) 2241 v8_memory_pressure_level == v8::MemoryPressureLevel::kCritical)
2242 v8_memory_pressure_level = v8::MemoryPressureLevel::kModerate; 2242 v8_memory_pressure_level = v8::MemoryPressureLevel::kModerate;
2243 2243
2244 blink::mainThreadIsolate()->MemoryPressureNotification( 2244 blink::mainThreadIsolate()->MemoryPressureNotification(
2245 v8_memory_pressure_level); 2245 v8_memory_pressure_level);
2246 blink::MemoryPressureNotificationToWorkerThreadIsolates( 2246 blink::MemoryPressureNotificationToWorkerThreadIsolates(
2247 v8_memory_pressure_level); 2247 v8_memory_pressure_level);
2248 } 2248 }
2249 2249
2250 } // namespace content 2250 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/BUILD.gn ('k') | mash/login/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698