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

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: Get rid of ForEachFrameAndPendingFrame Created 6 years, 6 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 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 params.main_frame_routing_id, 1254 params.main_frame_routing_id,
1255 params.surface_id, 1255 params.surface_id,
1256 params.session_storage_namespace_id, 1256 params.session_storage_namespace_id,
1257 params.frame_name, 1257 params.frame_name,
1258 false, 1258 false,
1259 params.swapped_out, 1259 params.swapped_out,
1260 params.proxy_routing_id, 1260 params.proxy_routing_id,
1261 params.hidden, 1261 params.hidden,
1262 params.never_visible, 1262 params.never_visible,
1263 params.next_page_id, 1263 params.next_page_id,
1264 params.screen_info, 1264 params.screen_info);
1265 params.accessibility_mode);
1266 } 1265 }
1267 1266
1268 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync( 1267 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync(
1269 CauseForGpuLaunch cause_for_gpu_launch) { 1268 CauseForGpuLaunch cause_for_gpu_launch) {
1270 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync"); 1269 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync");
1271 1270
1272 if (gpu_channel_.get()) { 1271 if (gpu_channel_.get()) {
1273 // Do nothing if we already have a GPU channel or are already 1272 // Do nothing if we already have a GPU channel or are already
1274 // establishing one. 1273 // establishing one.
1275 if (!gpu_channel_->IsLost()) 1274 if (!gpu_channel_->IsLost())
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1513 hidden_widget_count_--; 1512 hidden_widget_count_--;
1514 1513
1515 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) { 1514 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) {
1516 return; 1515 return;
1517 } 1516 }
1518 1517
1519 ScheduleIdleHandler(kLongIdleHandlerDelayMs); 1518 ScheduleIdleHandler(kLongIdleHandlerDelayMs);
1520 } 1519 }
1521 1520
1522 } // namespace content 1521 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698