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

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: Rebase Created 6 years, 4 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 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after
1354 params.main_frame_routing_id, 1354 params.main_frame_routing_id,
1355 params.surface_id, 1355 params.surface_id,
1356 params.session_storage_namespace_id, 1356 params.session_storage_namespace_id,
1357 params.frame_name, 1357 params.frame_name,
1358 false, 1358 false,
1359 params.swapped_out, 1359 params.swapped_out,
1360 params.proxy_routing_id, 1360 params.proxy_routing_id,
1361 params.hidden, 1361 params.hidden,
1362 params.never_visible, 1362 params.never_visible,
1363 params.next_page_id, 1363 params.next_page_id,
1364 params.screen_info, 1364 params.screen_info);
1365 params.accessibility_mode);
1366 } 1365 }
1367 1366
1368 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync( 1367 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync(
1369 CauseForGpuLaunch cause_for_gpu_launch) { 1368 CauseForGpuLaunch cause_for_gpu_launch) {
1370 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync"); 1369 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync");
1371 1370
1372 if (gpu_channel_.get()) { 1371 if (gpu_channel_.get()) {
1373 // Do nothing if we already have a GPU channel or are already 1372 // Do nothing if we already have a GPU channel or are already
1374 // establishing one. 1373 // establishing one.
1375 if (!gpu_channel_->IsLost()) 1374 if (!gpu_channel_->IsLost())
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
1611 hidden_widget_count_--; 1610 hidden_widget_count_--;
1612 1611
1613 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) { 1612 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) {
1614 return; 1613 return;
1615 } 1614 }
1616 1615
1617 ScheduleIdleHandler(kLongIdleHandlerDelayMs); 1616 ScheduleIdleHandler(kLongIdleHandlerDelayMs);
1618 } 1617 }
1619 1618
1620 } // namespace content 1619 } // 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