[Webkit-unassigned] [Bug 46013] New: [Chromium] inform plugins about WebView activation changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 17 16:56:56 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=46013

           Summary: [Chromium] inform plugins about WebView activation
                    changes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: stuartmorgan at chromium.org


Windowless plugins need to know when they are actually focused at the OS level, not just when they are are the focused node in WebKit. Currently Chromium handles this by using a side channel to communicate that information to plugins from RenderView, but the logic for that really belongs in WebKit.

Ideally it seems like the solution would be for WebPluginContainer to have an updateActivation to mirror updateFocus, and for WebView to call that from setFocus if the focused node is a plugin. Then side channel would not be necessary, and the logic would work outside of Chromium (e.g., in DumpRenderTree). Unfortunately, there doesn't seem to be any way to figure out if the focus is on a plugin, and adding updateActivation to the entire Widget hierarchy seems like overkill.

We need to find some kind of solution here though, so that windowless plugin focus can work correctly internally to WebKit, without each client having to manage extra state.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list