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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 NOTREACHED(); | 84 NOTREACHED(); |
85 return 0; | 85 return 0; |
86 } | 86 } |
87 | 87 |
88 gfx::NativeViewAccessible | 88 gfx::NativeViewAccessible |
89 RenderWidgetHostViewChildFrame::GetNativeViewAccessible() { | 89 RenderWidgetHostViewChildFrame::GetNativeViewAccessible() { |
90 NOTREACHED(); | 90 NOTREACHED(); |
91 return NULL; | 91 return NULL; |
92 } | 92 } |
93 | 93 |
94 void RenderWidgetHostViewChildFrame::SetBackgroundOpaque(bool opaque) { | 94 void RenderWidgetHostViewChildFrame::SetBackgroundColor(SkColor color) { |
95 } | 95 } |
96 | 96 |
97 gfx::Size RenderWidgetHostViewChildFrame::GetPhysicalBackingSize() const { | 97 gfx::Size RenderWidgetHostViewChildFrame::GetPhysicalBackingSize() const { |
98 gfx::Size size; | 98 gfx::Size size; |
99 if (frame_connector_) | 99 if (frame_connector_) |
100 size = frame_connector_->ChildFrameRect().size(); | 100 size = frame_connector_->ChildFrameRect().size(); |
101 return size; | 101 return size; |
102 } | 102 } |
103 | 103 |
104 void RenderWidgetHostViewChildFrame::InitAsPopup( | 104 void RenderWidgetHostViewChildFrame::InitAsPopup( |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 } | 316 } |
317 | 317 |
318 BrowserAccessibilityManager* | 318 BrowserAccessibilityManager* |
319 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( | 319 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( |
320 BrowserAccessibilityDelegate* delegate) { | 320 BrowserAccessibilityDelegate* delegate) { |
321 return BrowserAccessibilityManager::Create( | 321 return BrowserAccessibilityManager::Create( |
322 BrowserAccessibilityManager::GetEmptyDocument(), delegate); | 322 BrowserAccessibilityManager::GetEmptyDocument(), delegate); |
323 } | 323 } |
324 | 324 |
325 } // namespace content | 325 } // namespace content |
OLD | NEW |