WebContents should have *one* focus method |
|
Issue descriptionWebContents currently has three focus related functions: Focus(), SetInitialFocus() and RestoreFocus(). As a consumer of WebContents it's hard to know which one to call when, and to ensure the right one is called at the right time. I think WebContents should have a single Focus() function that ensures the right thing happens. If the initial-focus truly needs to be treated specially, perhaps it doesn't belong in WebContents at all, but rather in client code. |
|
►
Sign in to add a comment |
|