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

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

Issue 407493002: Revert of Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_browsertest.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 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 params.main_frame_routing_id, 1342 params.main_frame_routing_id,
1343 params.surface_id, 1343 params.surface_id,
1344 params.session_storage_namespace_id, 1344 params.session_storage_namespace_id,
1345 params.frame_name, 1345 params.frame_name,
1346 false, 1346 false,
1347 params.swapped_out, 1347 params.swapped_out,
1348 params.proxy_routing_id, 1348 params.proxy_routing_id,
1349 params.hidden, 1349 params.hidden,
1350 params.never_visible, 1350 params.never_visible,
1351 params.next_page_id, 1351 params.next_page_id,
1352 params.screen_info); 1352 params.screen_info,
1353 params.accessibility_mode);
1353 } 1354 }
1354 1355
1355 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync( 1356 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync(
1356 CauseForGpuLaunch cause_for_gpu_launch) { 1357 CauseForGpuLaunch cause_for_gpu_launch) {
1357 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync"); 1358 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync");
1358 1359
1359 if (gpu_channel_.get()) { 1360 if (gpu_channel_.get()) {
1360 // Do nothing if we already have a GPU channel or are already 1361 // Do nothing if we already have a GPU channel or are already
1361 // establishing one. 1362 // establishing one.
1362 if (!gpu_channel_->IsLost()) 1363 if (!gpu_channel_->IsLost())
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1607 hidden_widget_count_--; 1608 hidden_widget_count_--;
1608 1609
1609 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) { 1610 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) {
1610 return; 1611 return;
1611 } 1612 }
1612 1613
1613 ScheduleIdleHandler(kLongIdleHandlerDelayMs); 1614 ScheduleIdleHandler(kLongIdleHandlerDelayMs);
1614 } 1615 }
1615 1616
1616 } // namespace content 1617 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698