Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Issue 42626: Report the plugin position to windowed plugins as (0,0)... (Closed)

Created:
11 years, 9 months ago by jam
Modified:
9 years, 6 months ago
Reviewers:
ananta
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Report the plugin position to windowed plugins as (0,0) . the NPAPI documentation says it should be reported relative to the parent HWND, which is the plugin's coordinates on the page. This assumption breaks in Chrome because we have an intermediate HWND. I've tested on a bunch of pages to see if this change causes regressions, if we find any in the future we can reconsider this. BUG=6742 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=12587

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -41 lines) Patch
M chrome/plugin/webplugin_proxy.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/plugin/webplugin_proxy.cc View 2 chunks +3 lines, -1 line 0 comments Download
M webkit/glue/plugins/test/plugin_window_size_test.cc View 2 chunks +14 lines, -4 lines 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl.cc View 1 5 chunks +14 lines, -18 lines 0 comments Download
M webkit/glue/webplugin.h View 1 chunk +4 lines, -1 line 0 comments Download
M webkit/glue/webplugin_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webplugin_impl.cc View 2 chunks +3 lines, -1 line 0 comments Download
M webkit/tools/test_shell/test_webview_delegate_win.cc View 1 chunk +1 line, -14 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
jam
11 years, 9 months ago (2009-03-25 22:58:58 UTC) #1
ananta
LGTM. A unit test for this would be nice.
11 years, 9 months ago (2009-03-25 23:45:28 UTC) #2
jam
added test
11 years, 9 months ago (2009-03-26 01:04:50 UTC) #3
ananta
11 years, 9 months ago (2009-03-26 01:18:53 UTC) #4
LGTM. Thanks for the unit test

Powered by Google App Engine
This is Rietveld 408576698