| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 } | 218 } |
| 219 #endif // defined(USE_AURA) | 219 #endif // defined(USE_AURA) |
| 220 | 220 |
| 221 bool RenderWidgetHostViewChildFrame::LockMouse() { | 221 bool RenderWidgetHostViewChildFrame::LockMouse() { |
| 222 return false; | 222 return false; |
| 223 } | 223 } |
| 224 | 224 |
| 225 void RenderWidgetHostViewChildFrame::UnlockMouse() { | 225 void RenderWidgetHostViewChildFrame::UnlockMouse() { |
| 226 } | 226 } |
| 227 | 227 |
| 228 uint32_t RenderWidgetHostViewChildFrame::GetSurfaceIdNamespace() { | |
| 229 // TODO(kenrb): Create SurfaceFactory here when RWHVChildFrame | |
| 230 // gets compositor surface support. | |
| 231 return 0; | |
| 232 } | |
| 233 | |
| 234 #if defined(OS_MACOSX) | 228 #if defined(OS_MACOSX) |
| 235 void RenderWidgetHostViewChildFrame::SetActive(bool active) { | 229 void RenderWidgetHostViewChildFrame::SetActive(bool active) { |
| 236 } | 230 } |
| 237 | 231 |
| 238 void RenderWidgetHostViewChildFrame::SetWindowVisibility(bool visible) { | 232 void RenderWidgetHostViewChildFrame::SetWindowVisibility(bool visible) { |
| 239 } | 233 } |
| 240 | 234 |
| 241 void RenderWidgetHostViewChildFrame::WindowFrameChanged() { | 235 void RenderWidgetHostViewChildFrame::WindowFrameChanged() { |
| 242 } | 236 } |
| 243 | 237 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 } | 303 } |
| 310 | 304 |
| 311 BrowserAccessibilityManager* | 305 BrowserAccessibilityManager* |
| 312 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( | 306 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( |
| 313 BrowserAccessibilityDelegate* delegate) { | 307 BrowserAccessibilityDelegate* delegate) { |
| 314 return BrowserAccessibilityManager::Create( | 308 return BrowserAccessibilityManager::Create( |
| 315 BrowserAccessibilityManager::GetEmptyDocument(), delegate); | 309 BrowserAccessibilityManager::GetEmptyDocument(), delegate); |
| 316 } | 310 } |
| 317 | 311 |
| 318 } // namespace content | 312 } // namespace content |
| OLD | NEW |