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

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

Issue 972313002: Make <webview> use out-of-process iframe architecture. (Closed) Base URL: ssh://saopaulo.wat/mnt/dev/shared/src@testoopif2z-better-chrome
Patch Set: rename changes Created 5 years, 7 months 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/browser_plugin/browser_plugin_guest.h"
8 #include "content/browser/frame_host/cross_process_frame_connector.h" 9 #include "content/browser/frame_host/cross_process_frame_connector.h"
10 #include "content/browser/renderer_host/render_view_host_impl.h"
9 #include "content/browser/renderer_host/render_widget_host_impl.h" 11 #include "content/browser/renderer_host/render_widget_host_impl.h"
10 #include "content/common/gpu/gpu_messages.h" 12 #include "content/common/gpu/gpu_messages.h"
11 #include "content/common/view_messages.h" 13 #include "content/common/view_messages.h"
12 #include "content/public/browser/render_process_host.h" 14 #include "content/public/browser/render_process_host.h"
13 15
14 namespace content { 16 namespace content {
15 17
16 RenderWidgetHostViewChildFrame::RenderWidgetHostViewChildFrame( 18 RenderWidgetHostViewChildFrame::RenderWidgetHostViewChildFrame(
17 RenderWidgetHost* widget_host) 19 RenderWidgetHost* widget_host)
18 : host_(RenderWidgetHostImpl::From(widget_host)), 20 : host_(RenderWidgetHostImpl::From(widget_host)),
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 } 129 }
128 130
129 void RenderWidgetHostViewChildFrame::MovePluginWindows( 131 void RenderWidgetHostViewChildFrame::MovePluginWindows(
130 const std::vector<WebPluginGeometry>& moves) { 132 const std::vector<WebPluginGeometry>& moves) {
131 } 133 }
132 134
133 void RenderWidgetHostViewChildFrame::UpdateCursor(const WebCursor& cursor) { 135 void RenderWidgetHostViewChildFrame::UpdateCursor(const WebCursor& cursor) {
134 } 136 }
135 137
136 void RenderWidgetHostViewChildFrame::SetIsLoading(bool is_loading) { 138 void RenderWidgetHostViewChildFrame::SetIsLoading(bool is_loading) {
137 NOTREACHED(); 139 if (!BrowserPluginGuest::IsGuest(static_cast<RenderViewHostImpl*>(
Charlie Reis 2015/05/22 23:44:31 This needs a comment. I'm also confused, since it
lazyboy 2015/05/26 16:32:54 default webview does not hit this function. I thin
140 RenderViewHost::From(host_)))) {
141 NOTREACHED();
142 }
138 } 143 }
139 144
140 void RenderWidgetHostViewChildFrame::TextInputTypeChanged( 145 void RenderWidgetHostViewChildFrame::TextInputTypeChanged(
141 ui::TextInputType type, 146 ui::TextInputType type,
142 ui::TextInputMode input_mode, 147 ui::TextInputMode input_mode,
143 bool can_compose_inline, 148 bool can_compose_inline,
144 int flags) { 149 int flags) {
145 // TODO(kenrb): Implement. 150 // TODO(kenrb): Implement.
146 } 151 }
147 152
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 #endif // defined(OS_WIN) 307 #endif // defined(OS_WIN)
303 308
304 BrowserAccessibilityManager* 309 BrowserAccessibilityManager*
305 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( 310 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager(
306 BrowserAccessibilityDelegate* delegate) { 311 BrowserAccessibilityDelegate* delegate) {
307 return BrowserAccessibilityManager::Create( 312 return BrowserAccessibilityManager::Create(
308 BrowserAccessibilityManager::GetEmptyDocument(), delegate); 313 BrowserAccessibilityManager::GetEmptyDocument(), delegate);
309 } 314 }
310 315
311 } // namespace content 316 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698