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

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

Issue 1652483002: Browser Side Text Input State Tracking for OOPIF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using the Old Logic for Determining the State Change Created 4 years, 9 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 <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // RenderWidgetHostViewChildFrame which do not get a SetIsLoading() call. 189 // RenderWidgetHostViewChildFrame which do not get a SetIsLoading() call.
190 if (BrowserPluginGuestMode::UseCrossProcessFramesForGuests() && 190 if (BrowserPluginGuestMode::UseCrossProcessFramesForGuests() &&
191 BrowserPluginGuest::IsGuest( 191 BrowserPluginGuest::IsGuest(
192 static_cast<RenderViewHostImpl*>(RenderViewHost::From(host_)))) { 192 static_cast<RenderViewHostImpl*>(RenderViewHost::From(host_)))) {
193 return; 193 return;
194 } 194 }
195 195
196 NOTREACHED(); 196 NOTREACHED();
197 } 197 }
198 198
199 void RenderWidgetHostViewChildFrame::TextInputStateChanged( 199 void RenderWidgetHostViewChildFrame::UpdateTextInputState() {
200 const ViewHostMsg_TextInputState_Params& params) { 200 if (frame_connector_)
201 // TODO(kenrb): Implement. 201 frame_connector_->NotifyRootViewOfTextInputStateChanged();
202 } 202 }
203 203
204 void RenderWidgetHostViewChildFrame::RenderProcessGone( 204 void RenderWidgetHostViewChildFrame::RenderProcessGone(
205 base::TerminationStatus status, 205 base::TerminationStatus status,
206 int error_code) { 206 int error_code) {
207 if (frame_connector_) 207 if (frame_connector_)
208 frame_connector_->RenderProcessGone(); 208 frame_connector_->RenderProcessGone();
209 Destroy(); 209 Destroy();
210 } 210 }
211 211
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 if (surface_factory_ && !surface_id_.is_null()) 571 if (surface_factory_ && !surface_id_.is_null())
572 surface_factory_->Destroy(surface_id_); 572 surface_factory_->Destroy(surface_id_);
573 surface_id_ = cc::SurfaceId(); 573 surface_id_ = cc::SurfaceId();
574 } 574 }
575 575
576 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { 576 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const {
577 return surface_id_; 577 return surface_id_;
578 }; 578 };
579 579
580 } // namespace content 580 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698