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

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

Issue 273423004: Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win & android compile Created 6 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 | Annotate | Revision Log
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 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 params.main_frame_routing_id, 1248 params.main_frame_routing_id,
1249 params.surface_id, 1249 params.surface_id,
1250 params.session_storage_namespace_id, 1250 params.session_storage_namespace_id,
1251 params.frame_name, 1251 params.frame_name,
1252 false, 1252 false,
1253 params.swapped_out, 1253 params.swapped_out,
1254 params.proxy_routing_id, 1254 params.proxy_routing_id,
1255 params.hidden, 1255 params.hidden,
1256 params.never_visible, 1256 params.never_visible,
1257 params.next_page_id, 1257 params.next_page_id,
1258 params.screen_info, 1258 params.screen_info);
1259 params.accessibility_mode);
1260 } 1259 }
1261 1260
1262 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync( 1261 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync(
1263 CauseForGpuLaunch cause_for_gpu_launch) { 1262 CauseForGpuLaunch cause_for_gpu_launch) {
1264 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync"); 1263 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync");
1265 1264
1266 if (gpu_channel_.get()) { 1265 if (gpu_channel_.get()) {
1267 // Do nothing if we already have a GPU channel or are already 1266 // Do nothing if we already have a GPU channel or are already
1268 // establishing one. 1267 // establishing one.
1269 if (!gpu_channel_->IsLost()) 1268 if (!gpu_channel_->IsLost())
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1507 hidden_widget_count_--; 1506 hidden_widget_count_--;
1508 1507
1509 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) { 1508 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) {
1510 return; 1509 return;
1511 } 1510 }
1512 1511
1513 ScheduleIdleHandler(kLongIdleHandlerDelayMs); 1512 ScheduleIdleHandler(kLongIdleHandlerDelayMs);
1514 } 1513 }
1515 1514
1516 } // namespace content 1515 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698