OLD | NEW |
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/browser/renderer_host/render_widget_host_impl.h" | 5 #include "content/browser/renderer_host/render_widget_host_impl.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <set> | 8 #include <set> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 2115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2126 void RenderWidgetHostImpl::AccessibilitySetTextSelection( | 2126 void RenderWidgetHostImpl::AccessibilitySetTextSelection( |
2127 int object_id, int start_offset, int end_offset) { | 2127 int object_id, int start_offset, int end_offset) { |
2128 Send(new AccessibilityMsg_SetTextSelection( | 2128 Send(new AccessibilityMsg_SetTextSelection( |
2129 GetRoutingID(), object_id, start_offset, end_offset)); | 2129 GetRoutingID(), object_id, start_offset, end_offset)); |
2130 } | 2130 } |
2131 | 2131 |
2132 void RenderWidgetHostImpl::FatalAccessibilityTreeError() { | 2132 void RenderWidgetHostImpl::FatalAccessibilityTreeError() { |
2133 Send(new AccessibilityMsg_FatalError(GetRoutingID())); | 2133 Send(new AccessibilityMsg_FatalError(GetRoutingID())); |
2134 } | 2134 } |
2135 | 2135 |
2136 #if defined(OS_WIN) && defined(USE_AURA) | 2136 #if defined(OS_WIN) |
2137 void RenderWidgetHostImpl::SetParentNativeViewAccessible( | 2137 void RenderWidgetHostImpl::SetParentNativeViewAccessible( |
2138 gfx::NativeViewAccessible accessible_parent) { | 2138 gfx::NativeViewAccessible accessible_parent) { |
2139 if (view_) | 2139 if (view_) |
2140 view_->SetParentNativeViewAccessible(accessible_parent); | 2140 view_->SetParentNativeViewAccessible(accessible_parent); |
2141 } | 2141 } |
2142 | 2142 |
2143 gfx::NativeViewAccessible | 2143 gfx::NativeViewAccessible |
2144 RenderWidgetHostImpl::GetParentNativeViewAccessible() const { | 2144 RenderWidgetHostImpl::GetParentNativeViewAccessible() const { |
2145 return delegate_->GetParentNativeViewAccessible(); | 2145 return delegate_->GetParentNativeViewAccessible(); |
2146 } | 2146 } |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2468 continue; | 2468 continue; |
2469 } | 2469 } |
2470 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(rwh); | 2470 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(rwh); |
2471 if (rwhi_set.insert(rwhi).second) | 2471 if (rwhi_set.insert(rwhi).second) |
2472 rwhi->FrameSwapped(latency_info); | 2472 rwhi->FrameSwapped(latency_info); |
2473 } | 2473 } |
2474 } | 2474 } |
2475 } | 2475 } |
2476 | 2476 |
2477 } // namespace content | 2477 } // namespace content |
OLD | NEW |