Bug 43542

Summary: [chromium] WidgetChromium does not need to notify the ChromeClient when it gets focused
Product: WebKit Reporter: Jay Civelli <jcivelli>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: eric
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Initial patch none

Description Jay Civelli 2010-08-05 00:16:04 PDT
WidgetChromium notifies the ChromeClient (via the ChromiumBridge) of every setFocus call.
This is called every time a new node gets focused and is not used. (There is a ChromeClient::focusedNodeChange() that notifies every time a new node gets focused.)
Calls to window.focus()/blur() are directly passed to the ChromeClient in WebCore/Chrome.cpp.

For these reasons WidgetChromium::setFocus() should not do anything and the corresponding code in ChromiumBridge should be cleaned.
Comment 1 Jay Civelli 2010-08-05 00:23:13 PDT
Created attachment 63562 [details]
Initial patch
Comment 2 Eric Seidel (no email) 2010-08-06 14:43:14 PDT
Comment on attachment 63562 [details]
Initial patch

Yay!
Comment 3 Eric Seidel (no email) 2010-08-07 21:48:06 PDT
Comment on attachment 63562 [details]
Initial patch

Clearing flags on attachment: 63562

Committed r64935: <http://trac.webkit.org/changeset/64935>
Comment 4 Eric Seidel (no email) 2010-08-07 21:48:10 PDT
All reviewed patches have been landed.  Closing bug.