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

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

Issue 1835303002: Implementation of the GreenWeb language extensions. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change GreenWeb-related CSS property names such that they apply in the desired order at runtime. Created 4 years, 8 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/greenweb_latency_tracking.h ('k') | content/renderer/render_widget.cc » ('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 <vector> 10 #include <vector>
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1140 compositor_thread_.reset(new base::Thread("Compositor")); 1140 compositor_thread_.reset(new base::Thread("Compositor"));
1141 base::Thread::Options compositor_thread_options; 1141 base::Thread::Options compositor_thread_options;
1142 #if defined(OS_ANDROID) 1142 #if defined(OS_ANDROID)
1143 compositor_thread_options.priority = base::ThreadPriority::DISPLAY; 1143 compositor_thread_options.priority = base::ThreadPriority::DISPLAY;
1144 #endif 1144 #endif
1145 compositor_thread_->StartWithOptions(compositor_thread_options); 1145 compositor_thread_->StartWithOptions(compositor_thread_options);
1146 compositor_task_runner_ = compositor_thread_->task_runner(); 1146 compositor_task_runner_ = compositor_thread_->task_runner();
1147 compositor_task_runner_->PostTask( 1147 compositor_task_runner_->PostTask(
1148 FROM_HERE, 1148 FROM_HERE,
1149 base::Bind(base::IgnoreResult(&ThreadRestrictions::SetIOAllowed), 1149 base::Bind(base::IgnoreResult(&ThreadRestrictions::SetIOAllowed),
1150 false)); 1150 true));
1151 } 1151 }
1152 1152
1153 InputHandlerManagerClient* input_handler_manager_client = NULL; 1153 InputHandlerManagerClient* input_handler_manager_client = NULL;
1154 #if defined(OS_ANDROID) 1154 #if defined(OS_ANDROID)
1155 if (SynchronousCompositorFactory* factory = 1155 if (SynchronousCompositorFactory* factory =
1156 SynchronousCompositorFactory::GetInstance()) { 1156 SynchronousCompositorFactory::GetInstance()) {
1157 input_handler_manager_client = factory->GetInputHandlerManagerClient(); 1157 input_handler_manager_client = factory->GetInputHandlerManagerClient();
1158 } 1158 }
1159 #endif 1159 #endif
1160 if (!input_handler_manager_client) { 1160 if (!input_handler_manager_client) {
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
2009 } 2009 }
2010 2010
2011 void RenderThreadImpl::PendingRenderFrameConnect::OnConnectionError() { 2011 void RenderThreadImpl::PendingRenderFrameConnect::OnConnectionError() {
2012 size_t erased = 2012 size_t erased =
2013 RenderThreadImpl::current()->pending_render_frame_connects_.erase( 2013 RenderThreadImpl::current()->pending_render_frame_connects_.erase(
2014 routing_id_); 2014 routing_id_);
2015 DCHECK_EQ(1u, erased); 2015 DCHECK_EQ(1u, erased);
2016 } 2016 }
2017 2017
2018 } // namespace content 2018 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/greenweb_latency_tracking.h ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698