summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* Partially implement the new pepper API in Chrome. This is not actually hookedbrettw@chromium.org2010-05-0720-0/+1736
| | | | | | | | | | up, which will require some changes in render_view as well as the plugin list. TEST=none BUG=none Review URL: http://codereview.chromium.org/1697008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46760 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the obsolete JRI bits from the NPAPI headersstuartmorgan@chromium.org2010-05-071-6/+1
| | | | | | | | | BUG=42645 TEST=Existing plugin tests continue to pass; nothing should change. Review URL: http://codereview.chromium.org/2011005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46732 0039d316-1c4b-4281-b951-d872f2087c98
* Switch over to non-deprecated methods.darin@chromium.org2010-05-071-4/+4
| | | | | | | | | | R=jhawkins BUG=none TEST=none Review URL: http://codereview.chromium.org/1985008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46718 0039d316-1c4b-4281-b951-d872f2087c98
* Add new widget API to Pepper to replace the old theming API. The ↵jam@chromium.org2010-05-073-38/+10
| | | | | | | | implementation is a copy of the WebKit code, I will figure out how to reuse it soon. Review URL: http://codereview.chromium.org/2011004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46710 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 46567 - Reimplement accessibility of web content by caching the entire zork@chromium.org2010-05-074-90/+387
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | accessibility tree in the browser process. Adds new RPCs for a browser tab to request accessibility info from a renderer; the renderer responds with a complete tree of accessibility metadata for the entire DOM, which is then cached in the RenderWidgetHostView. This part is crossplatform and will help with accessibility on both Windows and Mac OS X. For Windows, MSAA support for web content has been rewritten to use this new cache. Tested in JAWS and NVDA screen readers. Using Chrome with a screen reader is now fast and stable, unlike the previous implementation. However, note that most advanced functionality is still not supported, and much work remains to make Chrome work well with a screen reader. This is a necessary step to improve stability first. BUG=25564 BUG=13291 TEST=See http://codereview.chromium.org/1806001 Review URL: http://codereview.chromium.org/1637018 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/2031004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46642 0039d316-1c4b-4281-b951-d872f2087c98
* Add Chromium side implementation for WebFileSystem interface in WebKit.jianli@chromium.org2010-05-065-81/+210
| | | | | | | | | BUG=none TEST=non Review URL: http://codereview.chromium.org/1748015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46625 0039d316-1c4b-4281-b951-d872f2087c98
* Fix NULL vs 0 problems which break the build with -Werror using GCC 4.5evan@chromium.org2010-05-062-4/+4
| | | | | | | | | | | BUG=none TEST=try to compile with gcc 4.5 Patch by Benjamin Jemlich <pcgod99@gmail.com>. Review URL: http://codereview.chromium.org/2007003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46601 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement accessibility of web content by caching the entire dmazzoni@chromium.org2010-05-064-387/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | accessibility tree in the browser process. Adds new RPCs for a browser tab to request accessibility info from a renderer; the renderer responds with a complete tree of accessibility metadata for the entire DOM, which is then cached in the RenderWidgetHostView. This part is cross-platform and will help with accessibility on both Windows and Mac OS X. For Windows, MSAA support for web content has been rewritten to use this new cache. Tested in JAWS and NVDA screen readers. Using Chrome with a screen reader is now fast and stable, unlike the previous implementation. However, note that most advanced functionality is still not supported, and much work remains to make Chrome work well with a screen reader. This is a necessary step to improve stability first. BUG=25564 BUG=13291 TEST=See http://codereview.chromium.org/1806001 Review URL: http://codereview.chromium.org/1637018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46567 0039d316-1c4b-4281-b951-d872f2087c98
* Update Mac plugins for SetFocus changes, and remove old workaround messagesstuartmorgan@chromium.org2010-05-056-92/+71
| | | | | | | | | | | | | Now that WebKit is sending unfocus events, rework Mac plugins to correctly track plugin focus as a function of WebKit element focus and window-level view focus. Remove message plumbing for the old workarounds that were used to partially simulate focus switching for Mac plugins. Windows and Linux will currently ignore the new focus loss notifications so their behavior is unchanged. BUG=32721 TEST=Mac plugins should stop reacting to keyboard events once another control on the page, or the omnibox, is focused. They should also regain keyboard focus when switching back to their tab if they had it when the tab was hidden. Review URL: http://codereview.chromium.org/1736007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46516 0039d316-1c4b-4281-b951-d872f2087c98
* Switch over to non-deprecated WebKit APIs and delete client methods that are nodarin@chromium.org2010-05-056-17/+12
| | | | | | | | | | | | longer called by WebKit. R=jhawkins BUG=none TEST=none Review URL: http://codereview.chromium.org/1995002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46508 0039d316-1c4b-4281-b951-d872f2087c98
* Add EGLImage as one media type different than regular uncompressed video buffer.scherkus@chromium.org2010-05-051-2/+5
| | | | | | | | | | | | | | Video renderer could get this info via decoder->media_format(). This is needed in case video renderer is the buffer allocator. Patch by wjia@chromium.org: http://codereview.chromium.org/1725021/show BUG=NONE TEST=compiles Review URL: http://codereview.chromium.org/1952003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46479 0039d316-1c4b-4281-b951-d872f2087c98
* Move NPAPI to C99 typesstuartmorgan@chromium.org2010-05-051-15/+15
| | | | | | | | | BUG=42645 TEST=None; no behavioral change. Review URL: http://codereview.chromium.org/1910004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46463 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning up after a webkit roll.michaeln@chromium.org2010-05-052-8/+6
| | | | | | | | | BUG=39368 TEST=n/a Review URL: http://codereview.chromium.org/1912007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46425 0039d316-1c4b-4281-b951-d872f2087c98
* Mark some more release() calls with ignore_result.estade@chromium.org2010-05-042-11/+8
| | | | | | | | | BUG=42904 TEST=none Review URL: http://codereview.chromium.org/1695033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46411 0039d316-1c4b-4281-b951-d872f2087c98
* Don't autofill a read-only password field.snej@chromium.org2010-05-044-10/+41
| | | | | | | | | BUG=26416 TEST=PasswordManagerAutocompleteTests::OnBlur Review URL: http://codereview.chromium.org/1856004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46383 0039d316-1c4b-4281-b951-d872f2087c98
* When running on 10.6, switch to using the new popup API.avi@chromium.org2010-05-041-15/+56
| | | | | | | | | BUG=http://crbug.com/19669 TEST=move a window so that a popup form control sits below the dock. click it, and the menu's bottom edge should just touch the top of the dock. Review URL: http://codereview.chromium.org/1917002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46375 0039d316-1c4b-4281-b951-d872f2087c98
* Site isolation metrics: Sniff the actual type of cross origin text/html japhet@chromium.org2010-05-044-0/+229
| | | | | | | | | | | | | | responses, and take access control headers into account. Also, moved the actual logic of site isolation metrics into a separate file. BUG=none TEST=none Review URL: http://codereview.chromium.org/1699028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46370 0039d316-1c4b-4281-b951-d872f2087c98
* Remove accidentally-committed test loggingstuartmorgan@chromium.org2010-05-041-1/+0
| | | | | | | | | | | TBR=avi BUG=none TEST=none Review URL: http://codereview.chromium.org/1921002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46356 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash when scrolling a fast-path QuickDraw pluginstuartmorgan@chromium.org2010-05-042-7/+22
| | | | | | | | | | | | | Two changes - Only throw away QuickDraw plugin GWorlds when the size changes, so we don't get into this case in the first place - Add a safety check so that if anything else like this happens, it will call SetWindow instead of crashing. BUG=43007 TEST=Scroll a page with a QuickTime movie on 10.5; it shouldn't crash. Review URL: http://codereview.chromium.org/1937004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46351 0039d316-1c4b-4281-b951-d872f2087c98
* Update Webkit 58626:58719. Make use of new setting for disabling clipboard ↵inferno@chromium.org2010-05-042-0/+3
| | | | | | | | | | | access, already added in webkit as part of fix - https://bugs.webkit.org/show_bug.cgi?id=27751. Enable the setting in Test framework. Also, provide a command-line switch for this setting. BUG=41654 TEST=None Review URL: http://codereview.chromium.org/1815005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46299 0039d316-1c4b-4281-b951-d872f2087c98
* When determining that two plugins are the same but of different versions, ↵jabdelmalek@google.com2010-05-031-1/+16
| | | | | | | | | make sure that they share at least one mime type. BUG=43037 Review URL: http://codereview.chromium.org/1844001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46242 0039d316-1c4b-4281-b951-d872f2087c98
* The windowed flash plugin has a bug which occurs when the plugin enters ↵ananta@chromium.org2010-04-302-1/+67
| | | | | | | | | | | | | | | | | | | | | | | | fullscreen mode. It basically captures the mouse on WM_LBUTTONDOWN and does not release capture correctly causing it to stop receiving subsequent mouse events. This problem is also seen in Safari where there is code to handle this in the wndproc. However the plugin subclasses the window in WM_LBUTTONDOWN before entering full screen. As a result Safari does not receive the WM_LBUTTONUP message. To workaround this issue we use a per thread mouse hook to capture and release the mouse. This hook is only installed on a quirk. This bug does not occur in Firefox and opera. Firefox has code similar to Safari where it captures the mouse on WM_LBUTTONDOWN and releases it on WM_LBUTTONUP. It could well be a bug in the flash plugin, which only occurs in Safari and Chrome. Fixes http://code.google.com/p/chromium/issues/detail?id=28025 Bug=28025 Review URL: http://codereview.chromium.org/1718023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46031 0039d316-1c4b-4281-b951-d872f2087c98
* Add a context parameter to callOnMainThread. The old form is going to bedarin@chromium.org2010-04-282-0/+5
| | | | | | | | | | | | deprecated. R=dimich BUG=42751 TEST=none Review URL: http://codereview.chromium.org/1794005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45845 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up initial CA layer setup for Mac Pluginsstuartmorgan@chromium.org2010-04-282-10/+17
| | | | | | | | | | | UpdateAcceleratedSurface and DrawLayerInSurface don't make sense before windowed_handle has been set, so tweak the way we handle initialization of CA plugins. BUG=none TEST=CA plugins should still work Review URL: http://codereview.chromium.org/1745018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45828 0039d316-1c4b-4281-b951-d872f2087c98
* Update code to point to new location of WebThemeEngine.hjabdelmalek@google.com2010-04-281-4/+4
| | | | | | Review URL: http://codereview.chromium.org/1763014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45767 0039d316-1c4b-4281-b951-d872f2087c98
* Merging SeekableBuffer and BufferQueue:sergeyu@chromium.org2010-04-271-2/+2
| | | | | | | | | | | | 1. Removed SeekableBuffer::Buffer. 2. Extended SeekableBuffer to support all the features of BufferQueue. 3. BufferQueue removed and replaced with SeekableBuffer. BUG=28654 TEST=none Review URL: http://codereview.chromium.org/1736012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45669 0039d316-1c4b-4281-b951-d872f2087c98
* Ground work for making appcaches work in workers.michaeln@chromium.org2010-04-262-2/+15
| | | | | | | | | | | | Add ResourceRequest target types for worker and shared worker resources. This is the first patch of a two-sided change that involves WebKit API changes which haven't been made yet. BUG=39368 TEST=none Review URL: http://codereview.chromium.org/1666002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45643 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Make sure files in plugin directories are regular files.thestig@chromium.org2010-04-262-13/+25
| | | | | | | | BUG=none TEST=Visiting about:plugins with MOZ_PLUGIN_PATH=/tmp does not hang when there is a pipe in /tmp. Review URL: http://codereview.chromium.org/1700014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45638 0039d316-1c4b-4281-b951-d872f2087c98
* More case fixing following DOM serialization change.estade@chromium.org2010-04-221-6/+5
| | | | | | | | | BUG=37612,42281 TEST=DomSerializerTests.SerializeHTMLDOMWithEntitiesInAttributeValue Review URL: http://codereview.chromium.org/1712008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45369 0039d316-1c4b-4281-b951-d872f2087c98
* Disable DomSerializerTests.SerializeHTMLDOMWithEntitiesInAttributeValue for nowjamesr@chromium.org2010-04-221-1/+2
| | | | | | | | | | BUG=42281 TEST=none TBR=estade Review URL: http://codereview.chromium.org/1732005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45276 0039d316-1c4b-4281-b951-d872f2087c98
* Update WebKit to r58033jamesr@chromium.org2010-04-221-16/+16
| | | | | | Review URL: http://codereview.chromium.org/1705004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45274 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the wstring versions of GetFileInfo, GetFileSize, GetTempDir.evan@chromium.org2010-04-211-6/+5
| | | | | | | | | TEST=compiles BUG=24672 Review URL: http://codereview.chromium.org/1753004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45246 0039d316-1c4b-4281-b951-d872f2087c98
* Fix arm compile after turning on gcc warnings.tony@chromium.org2010-04-211-1/+1
| | | | | | | | | | Actually fix a comment that was pointed out during review. TBR=rolandsteiner Review URL: http://codereview.chromium.org/1734003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45165 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DRT build on Windows.tony@chromium.org2010-04-211-3/+7
| | | | | | | | The main fix is to stub out default_plugin when building upstream. Review URL: http://codereview.chromium.org/1658012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45160 0039d316-1c4b-4281-b951-d872f2087c98
* Enable -Werror on Linux and Win for src/webkit/tony@chromium.org2010-04-213-4/+5
| | | | | | | | BUG=21140 Review URL: http://codereview.chromium.org/1749001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45157 0039d316-1c4b-4281-b951-d872f2087c98
* Issues with video loopinghclam@chromium.org2010-04-201-3/+3
| | | | | | | | | | | | | | | | | Some video streams are badly muxed and have video packets with timestamps greater than the duration. This causes the logic in the video renderer to sleep forever and never read the end-of-stream packet and thus the stream is never ended. This change adjusted the condition on when we should sleep and handle timestamp greater than duration as a special case. TEST=video loops BUG=41579 Review URL: http://codereview.chromium.org/1652011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45124 0039d316-1c4b-4281-b951-d872f2087c98
* Don't load the old Java Deployment plugin if a newer one (with a different ↵jabdelmalek@google.com2010-04-201-3/+20
| | | | | | | | name) exists. Review URL: http://codereview.chromium.org/1672004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45122 0039d316-1c4b-4281-b951-d872f2087c98
* Implement two missing methods on layoutTestController:mpcomplete@chromium.org2010-04-192-0/+3
| | | | | | | | | | | | - addUserStyleSheet - setAuthorAndUserStylesEnabled BUG=24197 BUG=21113 Review URL: http://codereview.chromium.org/1654007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44954 0039d316-1c4b-4281-b951-d872f2087c98
* New experimental Pepper device API.apatrick@chromium.org2010-04-162-12/+133
| | | | | | | | | | | | | | | - makes device contexts opaque to the plugin - can get / set multiple attributes and flush with a single call (and underlying IPC message exchange) - currently works in parallel with old API - adapted pepper test plugin to use new API if use_new_npdevice_api=1 TEST=trybots, visual confirmation that pepper test plugin works with new API BUG=none Review URL: http://codereview.chromium.org/1529005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44840 0039d316-1c4b-4281-b951-d872f2087c98
* Reorganize the Mac plugin host codestuartmorgan@chromium.org2010-04-162-336/+372
| | | | | | | | | | | | | Reorders the Mac WebPluginDelegateImpl code for better findability. The only changes that aren't just moving existing code unchanged are: - The external drag tracking has been consolidated into a helper class. - The Windows-specific comment in Print has been replaced with a NOTIMPLEMENTED(). BUG=none TEST=none; no behavioral change Review URL: http://codereview.chromium.org/1633014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44773 0039d316-1c4b-4281-b951-d872f2087c98
* Move third_pary/mozilla/include up one directory.evan@chromium.org2010-04-151-3/+0
| | | | | | | | | | This allows the license checker to find the README. BUG=39240 Review URL: http://codereview.chromium.org/1596025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44655 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the last remnants of windowless_needs_set_window_ from Linux pluginsstuartmorgan@chromium.org2010-04-154-46/+15
| | | | | | | | | | | | | Also removes the variable now that it's unused on all platforms, the WindowlessSetWindow argument that went with it, and a completely dead clipping variable. Fixes Windows to call WindowlessSetWindow for clip rect changes (a case that used to be covered by the now-removed WindowlessSetWindow call in Draw). BUG=none TEST=Linux and Windows windowless plugins should still work (especially test scrolling them partially and completely off screen). Review URL: http://codereview.chromium.org/1225009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44649 0039d316-1c4b-4281-b951-d872f2087c98
* Made Pepper 3D plugins' output opaque on Mac OS X by filling thekbr@google.com2010-04-152-3/+4
| | | | | | | | | | | | | plugin region's alpha channel with 1.0 and then overwriting just the color channels. Core Animation plugins, though they currently always overlay HTML output, remain translucent. BUG=41424 TEST=ran Pepper 3D sample and verified its background is opaque Review URL: http://codereview.chromium.org/1547034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44594 0039d316-1c4b-4281-b951-d872f2087c98
* Fix offscren invalidation in windowless pluginsstuartmorgan@chromium.org2010-04-141-0/+7
| | | | | | | | | | | | | Fixes two related issues: - An invalidate that was entirely off screen, but for a plugin that was partial on-screen, would not trigger a paint when the damaged area was scrolled back into view (all platforms). - When a Mac plugin's container became visible, damaged regions were not repainted (Mac only). BUG=41383 TEST=See bug. Review URL: http://codereview.chromium.org/1629018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44582 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed loss of rendered output on Mac OS X if Pepper 3D application useskbr@google.com2010-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | framebuffer objects. Conditionalized allocation of FBO in AcceleratedSurface class, and changed SwapBuffers to optionally copy from the current context's back buffer. Changed GPUProcessor on Mac to always use PbufferGLContext, and hooked in optional call to AcceleratedSurface's SwapBufers before calling user's callback. Completely disabled ViewGLContext on Mac OS X. This causes Pepper 3D applications to use the GGL default back buffer on Mac, which is the desired behavior. Ideally the FBO allocation would be factored out of the AcceleratedSurface class, and ideally the pbuffer setup code would not be duplicated between this class and PbufferGLContext. However, these cleanups are being deferred because they require substantial refactorings. Removed accelerated_surface_stub.cc, which isn't needed any more since AcceleratedSurface moved to app/. Tested: - Pepper 3D plugin with glBindFramebuffer(GL_FRAMEBUFFER, 0) in place with both IOSurface and TransportDIB code paths - Unity 3D with IOSurface / Core Animation code path BUG=41004 TEST=none (ran above tests) Review URL: http://codereview.chromium.org/1637007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44507 0039d316-1c4b-4281-b951-d872f2087c98
* Never unload plugins from the plugin process on the Macstuartmorgan@chromium.org2010-04-141-4/+3
| | | | | | | | | | | This has happened to enough plugins now that it seems better to just make it a blanket policy on the Mac. We don't gain anything by unloading them at shutdown. BUG=41431 TEST=Internal Flash shouldn't crash on unload. Review URL: http://codereview.chromium.org/1652003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44479 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor FileVersionInfo into an interface with platform implementations.tony@chromium.org2010-04-144-19/+12
| | | | | | | | | | | | | This allows us to move the chrome specific version informaton used by Linux into src/chrome. Add a GetChromeVersionInfo() for Linux in src/chrome/app/ and make sure to use this in src/chrome. In src/webkit/glue, add a new glue method for getting the product version. When compiling chrome, use an implementation in src/chrome/renderer (which uses GetChromeVersionInfo()) and a stub implementation for test_shell. Review URL: http://codereview.chromium.org/1560027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44435 0039d316-1c4b-4281-b951-d872f2087c98
* Send real clipping information to Mac pluginsstuartmorgan@chromium.org2010-04-131-23/+13
| | | | | | | | | | | Inform plugins of the actual clipping, so that they know not to try to invalidate off-screen areas (which in the case of Silverlight can cause it to stop drawing). We still always say that the window is the size of the plugin, and that the plugin is at (0,0), which is the part that actually matters for transforms and drawing location. BUG=41323 TEST=Plugins scrolled partially off-screen should still draw correctly. Netflix video should keep playing even when the screen is smaller than the player. Review URL: http://codereview.chromium.org/1558042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44396 0039d316-1c4b-4281-b951-d872f2087c98
* Move details of QuickDraw plugin drawing into a helper classstuartmorgan@chromium.org2010-04-125-148/+263
| | | | | | | | | | | This hides a bunch of ugly details of the QuickDraw plugin support in a helper class. BUG=none TEST=QuickDraw plugins (especially QuickTime on 10.5) should continue to work as before. Review URL: http://codereview.chromium.org/1582021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44247 0039d316-1c4b-4281-b951-d872f2087c98
* Compute local Mac plugin coordinates from scratchstuartmorgan@chromium.org2010-04-121-45/+30
| | | | | | | | | | | This a more drastic but more robust temporary workaround for the zoomed plugin bug. Instead of trying to guess whether the page is zoomed, which turns out not to be feasible if the page has been scrolled, we treat non-global mouse coordinates as suspect and compute our own instead. BUG=26466 TEST=Mouse handling for Mac plugins, both Carbon and Cocoa, should work correctly at any zoom, with any amount of page scrolling. Review URL: http://codereview.chromium.org/1528027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44246 0039d316-1c4b-4281-b951-d872f2087c98