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

Unified Diff: chrome/browser/tab_contents/tab_contents.cc

Issue 6277020: keyboard: Update the visibility after tab-switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/selected/focused/, and RemoveObserver. Created 9 years, 11 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
Index: chrome/browser/tab_contents/tab_contents.cc
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 8b5b74c3dd1f71ba883b95a01b1b736739fbf326..f1f787c12d4886ba2b3bb321900c4d8e7d958dc2 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -3143,6 +3143,7 @@ void TabContents::FocusedNodeChanged(bool is_editable_node) {
NotificationType::FOCUS_CHANGED_IN_PAGE,
Source<RenderViewHost>(render_view_host()),
Details<const bool>(&is_editable_node));
+ focused_field_is_editable_ = is_editable_node;
}
void TabContents::UpdateZoomLimits(int minimum_percent,

Powered by Google App Engine
This is Rietveld 408576698