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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 109 |
110 void RenderWidgetHostViewChildFrame::InitAsFullscreen( | 110 void RenderWidgetHostViewChildFrame::InitAsFullscreen( |
111 RenderWidgetHostView* reference_host_view) { | 111 RenderWidgetHostView* reference_host_view) { |
112 NOTREACHED(); | 112 NOTREACHED(); |
113 } | 113 } |
114 | 114 |
115 void RenderWidgetHostViewChildFrame::ImeCancelComposition() { | 115 void RenderWidgetHostViewChildFrame::ImeCancelComposition() { |
116 NOTREACHED(); | 116 NOTREACHED(); |
117 } | 117 } |
118 | 118 |
119 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID) | |
120 void RenderWidgetHostViewChildFrame::ImeCompositionRangeChanged( | 119 void RenderWidgetHostViewChildFrame::ImeCompositionRangeChanged( |
121 const gfx::Range& range, | 120 const gfx::Range& range, |
122 const std::vector<gfx::Rect>& character_bounds) { | 121 const std::vector<gfx::Rect>& character_bounds) { |
123 NOTREACHED(); | 122 NOTREACHED(); |
124 } | 123 } |
125 #endif | |
126 | 124 |
127 void RenderWidgetHostViewChildFrame::WasShown() { | 125 void RenderWidgetHostViewChildFrame::WasShown() { |
128 if (!host_->is_hidden()) | 126 if (!host_->is_hidden()) |
129 return; | 127 return; |
130 host_->WasShown(ui::LatencyInfo()); | 128 host_->WasShown(ui::LatencyInfo()); |
131 } | 129 } |
132 | 130 |
133 void RenderWidgetHostViewChildFrame::WasHidden() { | 131 void RenderWidgetHostViewChildFrame::WasHidden() { |
134 if (host_->is_hidden()) | 132 if (host_->is_hidden()) |
135 return; | 133 return; |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 } | 311 } |
314 | 312 |
315 BrowserAccessibilityManager* | 313 BrowserAccessibilityManager* |
316 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( | 314 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( |
317 BrowserAccessibilityDelegate* delegate) { | 315 BrowserAccessibilityDelegate* delegate) { |
318 return BrowserAccessibilityManager::Create( | 316 return BrowserAccessibilityManager::Create( |
319 BrowserAccessibilityManager::GetEmptyDocument(), delegate); | 317 BrowserAccessibilityManager::GetEmptyDocument(), delegate); |
320 } | 318 } |
321 | 319 |
322 } // namespace content | 320 } // namespace content |
OLD | NEW |