Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(473)

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 616133002: Make RenderFrame(Host) own a RenderWidget(Host). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format, changed WebWidget creation Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 void RenderWidgetHostViewChildFrame::SetIsLoading(bool is_loading) { 147 void RenderWidgetHostViewChildFrame::SetIsLoading(bool is_loading) {
148 NOTREACHED(); 148 NOTREACHED();
149 } 149 }
150 150
151 void RenderWidgetHostViewChildFrame::TextInputTypeChanged( 151 void RenderWidgetHostViewChildFrame::TextInputTypeChanged(
152 ui::TextInputType type, 152 ui::TextInputType type,
153 ui::TextInputMode input_mode, 153 ui::TextInputMode input_mode,
154 bool can_compose_inline, 154 bool can_compose_inline,
155 int flags) { 155 int flags) {
156 NOTREACHED(); 156 // TODO: Implement.
Charlie Reis 2014/12/18 18:04:13 nit: TODO(kenrb) (All TODOs in Chromium code shou
kenrb 2015/01/05 21:15:30 Done.
157 } 157 }
158 158
159 void RenderWidgetHostViewChildFrame::RenderProcessGone( 159 void RenderWidgetHostViewChildFrame::RenderProcessGone(
160 base::TerminationStatus status, 160 base::TerminationStatus status,
161 int error_code) { 161 int error_code) {
162 if (frame_connector_) 162 if (frame_connector_)
163 frame_connector_->RenderProcessGone(); 163 frame_connector_->RenderProcessGone();
164 Destroy(); 164 Destroy();
165 } 165 }
166 166
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 } 311 }
312 312
313 BrowserAccessibilityManager* 313 BrowserAccessibilityManager*
314 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( 314 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager(
315 BrowserAccessibilityDelegate* delegate) { 315 BrowserAccessibilityDelegate* delegate) {
316 return BrowserAccessibilityManager::Create( 316 return BrowserAccessibilityManager::Create(
317 BrowserAccessibilityManager::GetEmptyDocument(), delegate); 317 BrowserAccessibilityManager::GetEmptyDocument(), delegate);
318 } 318 }
319 319
320 } // namespace content 320 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698