OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/frame_host/render_widget_host_view_child_frame.h" | 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
6 | 6 |
7 #include "content/browser/accessibility/browser_accessibility_manager.h" | 7 #include "content/browser/accessibility/browser_accessibility_manager.h" |
8 #include "content/browser/frame_host/cross_process_frame_connector.h" | 8 #include "content/browser/frame_host/cross_process_frame_connector.h" |
9 #include "content/browser/renderer_host/render_widget_host_impl.h" | 9 #include "content/browser/renderer_host/render_widget_host_impl.h" |
10 #include "content/common/gpu/gpu_messages.h" | 10 #include "content/common/gpu/gpu_messages.h" |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 void RenderWidgetHostViewChildFrame::SelectionChanged( | 180 void RenderWidgetHostViewChildFrame::SelectionChanged( |
181 const base::string16& text, | 181 const base::string16& text, |
182 size_t offset, | 182 size_t offset, |
183 const gfx::Range& range) { | 183 const gfx::Range& range) { |
184 } | 184 } |
185 | 185 |
186 void RenderWidgetHostViewChildFrame::SelectionBoundsChanged( | 186 void RenderWidgetHostViewChildFrame::SelectionBoundsChanged( |
187 const ViewHostMsg_SelectionBounds_Params& params) { | 187 const ViewHostMsg_SelectionBounds_Params& params) { |
188 } | 188 } |
189 | 189 |
190 #if defined(OS_ANDROID) | 190 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) |
191 void RenderWidgetHostViewChildFrame::ShowDisambiguationPopup( | 191 void RenderWidgetHostViewChildFrame::ShowDisambiguationPopup( |
192 const gfx::Rect& target_rect, | 192 const gfx::Rect& rect_pixels, |
193 const SkBitmap& zoomed_bitmap) { | 193 const SkBitmap& zoomed_bitmap) { |
194 } | 194 } |
| 195 #endif |
195 | 196 |
| 197 #if defined(OS_ANDROID) |
196 void RenderWidgetHostViewChildFrame::LockCompositingSurface() { | 198 void RenderWidgetHostViewChildFrame::LockCompositingSurface() { |
197 } | 199 } |
198 | 200 |
199 void RenderWidgetHostViewChildFrame::UnlockCompositingSurface() { | 201 void RenderWidgetHostViewChildFrame::UnlockCompositingSurface() { |
200 } | 202 } |
201 #endif | 203 #endif |
202 | 204 |
203 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceInitialized(int host_id, | 205 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceInitialized(int host_id, |
204 int route_id) { | 206 int route_id) { |
205 } | 207 } |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 } | 341 } |
340 | 342 |
341 BrowserAccessibilityManager* | 343 BrowserAccessibilityManager* |
342 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( | 344 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( |
343 BrowserAccessibilityDelegate* delegate) { | 345 BrowserAccessibilityDelegate* delegate) { |
344 return BrowserAccessibilityManager::Create( | 346 return BrowserAccessibilityManager::Create( |
345 BrowserAccessibilityManager::GetEmptyDocument(), delegate); | 347 BrowserAccessibilityManager::GetEmptyDocument(), delegate); |
346 } | 348 } |
347 | 349 |
348 } // namespace content | 350 } // namespace content |
OLD | NEW |