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

Issue 151195: Simplifying renderer focus management (Closed)

Created:
11 years, 5 months ago by jcampan
Modified:
9 years, 7 months ago
Reviewers:
ojan
CC:
chromium-reviews_googlegroups.com, darin (slow to review), brettw
Visibility:
Public.

Description

We used to store/restore the frame and node that were focused last when a age would lose/gain focus. This patches lets WebKit takes care of it by using the new FocusController::setFocused method. BUG=http://crbug.com/15777 TEST=Open www.google.com, the focus should be on the text-field (focus ring + blinking caret). Activate another window. The page should not show the text-field with the focus. Switch tabs, make sure the focus is remembered correctly. Do the same tests in a page with frames. Run the layout tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19899

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -146 lines) Patch
M chrome/renderer/render_view.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M webkit/glue/webframe_impl.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M webkit/glue/webframeloaderclient_impl.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M webkit/glue/webview.h View 1 chunk +0 lines, -13 lines 0 comments Download
M webkit/glue/webview_impl.h View 4 chunks +0 lines, -11 lines 0 comments Download
M webkit/glue/webview_impl.cc View 1 6 chunks +11 lines, -102 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
jcampan
11 years, 5 months ago (2009-07-02 08:13:13 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698