On Jun 30, 8:51 am, skrat <[email protected]> wrote:
> Would be nice if you can solve what mozilla can't. And that is plugin
> lockin once it grabs focus. So shortcuts for closing tabs and
> switching between does not work anymore, which is pretty annoying. Is
> it possible or is it just a way how NS plugins work?

It's a combination of two things.  One, Chrome lets the page have
precedence for keystrokes.  This is why Ctl-B normally shows the
bookmarks bar but it will bold text if you're using an app like Google
Docs.  So keystrokes are sent to the page first, and if the page
doesn't use them only then do we do the browser function.

The other side to this is that from the browser's perspective, a
plugin is a black box that is fed keystrokes.  We can't know that, for
example, pressing the down arrow actually is used by the Flash game
you're playing and should not scroll the page.  So as soon as a plugin
has focus it's as if the page handles *every* keystroke and the
browser never gets another one.

I definitely agree it is very annoying. I in fact argued against
behavior #1 within the team and lost.  :)

For what it's worth, you might find reading
http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html#id2448113
, the spec that affects how Flash is typically embedded, interesting.
--~--~---------~--~----~------------~-------~--~----~
Chromium Discussion mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to