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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 gfx::Size RenderWidgetHostViewChildFrame::GetPhysicalBackingSize() const { | 101 gfx::Size RenderWidgetHostViewChildFrame::GetPhysicalBackingSize() const { |
102 gfx::Size size; | 102 gfx::Size size; |
103 if (frame_connector_) | 103 if (frame_connector_) |
104 size = frame_connector_->ChildFrameRect().size(); | 104 size = frame_connector_->ChildFrameRect().size(); |
105 return size; | 105 return size; |
106 } | 106 } |
107 | 107 |
108 void RenderWidgetHostViewChildFrame::InitAsPopup( | 108 void RenderWidgetHostViewChildFrame::InitAsPopup( |
109 RenderWidgetHostView* parent_host_view, | 109 RenderWidgetHostView* parent_host_view, |
110 const gfx::Rect& pos) { | 110 const gfx::Rect& bounds) { |
111 NOTREACHED(); | 111 NOTREACHED(); |
112 } | 112 } |
113 | 113 |
114 void RenderWidgetHostViewChildFrame::InitAsFullscreen( | 114 void RenderWidgetHostViewChildFrame::InitAsFullscreen( |
115 RenderWidgetHostView* reference_host_view) { | 115 RenderWidgetHostView* reference_host_view) { |
116 NOTREACHED(); | 116 NOTREACHED(); |
117 } | 117 } |
118 | 118 |
119 void RenderWidgetHostViewChildFrame::ImeCancelComposition() { | 119 void RenderWidgetHostViewChildFrame::ImeCancelComposition() { |
120 NOTREACHED(); | 120 NOTREACHED(); |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 } | 303 } |
304 | 304 |
305 BrowserAccessibilityManager* | 305 BrowserAccessibilityManager* |
306 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( | 306 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( |
307 BrowserAccessibilityDelegate* delegate) { | 307 BrowserAccessibilityDelegate* delegate) { |
308 return BrowserAccessibilityManager::Create( | 308 return BrowserAccessibilityManager::Create( |
309 BrowserAccessibilityManager::GetEmptyDocument(), delegate); | 309 BrowserAccessibilityManager::GetEmptyDocument(), delegate); |
310 } | 310 } |
311 | 311 |
312 } // namespace content | 312 } // namespace content |
OLD | NEW |