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

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 more compile errors 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 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after
1247 params.view_id, 1247 params.view_id,
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.hidden, 1254 params.hidden,
1255 params.never_visible, 1255 params.never_visible,
1256 params.next_page_id, 1256 params.next_page_id,
1257 params.screen_info, 1257 params.screen_info);
1258 params.accessibility_mode);
1259 } 1258 }
1260 1259
1261 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync( 1260 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync(
1262 CauseForGpuLaunch cause_for_gpu_launch) { 1261 CauseForGpuLaunch cause_for_gpu_launch) {
1263 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync"); 1262 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync");
1264 1263
1265 if (gpu_channel_.get()) { 1264 if (gpu_channel_.get()) {
1266 // Do nothing if we already have a GPU channel or are already 1265 // Do nothing if we already have a GPU channel or are already
1267 // establishing one. 1266 // establishing one.
1268 if (!gpu_channel_->IsLost()) 1267 if (!gpu_channel_->IsLost())
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
1502 hidden_widget_count_--; 1501 hidden_widget_count_--;
1503 1502
1504 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) { 1503 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) {
1505 return; 1504 return;
1506 } 1505 }
1507 1506
1508 ScheduleIdleHandler(kLongIdleHandlerDelayMs); 1507 ScheduleIdleHandler(kLongIdleHandlerDelayMs);
1509 } 1508 }
1510 1509
1511 } // namespace content 1510 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698