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

Unified Diff: ui/views/controls/webview/webview.cc

Issue 347103002: Fixes browser_tests with --enable-text-input-focus-manager enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/webview/webview.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/webview/webview.cc
diff --git a/ui/views/controls/webview/webview.cc b/ui/views/controls/webview/webview.cc
index 21de72612313f43c5556053536e66379ade07c14..52cb13b267aa6829057dc9ccaf9bbec1a2411869 100644
--- a/ui/views/controls/webview/webview.cc
+++ b/ui/views/controls/webview/webview.cc
@@ -252,6 +252,10 @@ void WebView::RenderViewDeleted(content::RenderViewHost* render_view_host) {
NotifyMaybeTextInputClientChanged();
}
+void WebView::RenderProcessGone(base::TerminationStatus status) {
+ NotifyMaybeTextInputClientChanged();
+}
+
void WebView::RenderViewHostChanged(content::RenderViewHost* old_host,
content::RenderViewHost* new_host) {
FocusManager* const focus_manager = GetFocusManager();
@@ -275,6 +279,14 @@ void WebView::DidToggleFullscreenModeForTab(bool entered_fullscreen) {
ReattachForFullscreenChange(entered_fullscreen);
}
+void WebView::DidAttachInterstitialPage() {
+ NotifyMaybeTextInputClientChanged();
+}
+
+void WebView::DidDetachInterstitialPage() {
+ NotifyMaybeTextInputClientChanged();
+}
+
////////////////////////////////////////////////////////////////////////////////
// WebView, private:
« no previous file with comments | « ui/views/controls/webview/webview.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698