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

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

Issue 2114583002: Windows: Make it possible to print text with GDI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again, resolve conflicts 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/common/render_process_messages.h ('k') | pdf/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 1488 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 audio_renderer_mixer_manager_ = AudioRendererMixerManager::Create(); 1499 audio_renderer_mixer_manager_ = AudioRendererMixerManager::Create();
1500 } 1500 }
1501 1501
1502 return audio_renderer_mixer_manager_.get(); 1502 return audio_renderer_mixer_manager_.get();
1503 } 1503 }
1504 1504
1505 base::WaitableEvent* RenderThreadImpl::GetShutdownEvent() { 1505 base::WaitableEvent* RenderThreadImpl::GetShutdownEvent() {
1506 return ChildProcess::current()->GetShutDownEvent(); 1506 return ChildProcess::current()->GetShutDownEvent();
1507 } 1507 }
1508 1508
1509 #if defined(OS_WIN)
1510 void RenderThreadImpl::PreCacheFontCharacters(const LOGFONT& log_font,
1511 const base::string16& str) {
1512 Send(new RenderProcessHostMsg_PreCacheFontCharacters(log_font, str));
1513 }
1514
1515 #endif // OS_WIN
1516
1517 bool RenderThreadImpl::IsGpuRasterizationForced() { 1509 bool RenderThreadImpl::IsGpuRasterizationForced() {
1518 return is_gpu_rasterization_forced_; 1510 return is_gpu_rasterization_forced_;
1519 } 1511 }
1520 1512
1521 bool RenderThreadImpl::IsGpuRasterizationEnabled() { 1513 bool RenderThreadImpl::IsGpuRasterizationEnabled() {
1522 return is_gpu_rasterization_enabled_; 1514 return is_gpu_rasterization_enabled_;
1523 } 1515 }
1524 1516
1525 bool RenderThreadImpl::IsAsyncWorkerContextEnabled() { 1517 bool RenderThreadImpl::IsAsyncWorkerContextEnabled() {
1526 return is_async_worker_context_enabled_; 1518 return is_async_worker_context_enabled_;
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
2216 if (blink::mainThreadIsolate()) { 2208 if (blink::mainThreadIsolate()) {
2217 blink::mainThreadIsolate()->MemoryPressureNotification( 2209 blink::mainThreadIsolate()->MemoryPressureNotification(
2218 v8::MemoryPressureLevel::kCritical); 2210 v8::MemoryPressureLevel::kCritical);
2219 blink::MemoryPressureNotificationToWorkerThreadIsolates( 2211 blink::MemoryPressureNotificationToWorkerThreadIsolates(
2220 v8::MemoryPressureLevel::kCritical); 2212 v8::MemoryPressureLevel::kCritical);
2221 } 2213 }
2222 } 2214 }
2223 2215
2224 2216
2225 } // namespace content 2217 } // namespace content
OLDNEW
« no previous file with comments | « content/common/render_process_messages.h ('k') | pdf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698