diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 17:02:59 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 17:02:59 +0000 |
commit | c9e1979455bd83b1d3c6d95be4c84cc7153ced7f (patch) | |
tree | 770e8e45f936db44009beee5318161321443d2c7 /chrome/browser/renderer_host/test | |
parent | 1c03f89408d129f8defb846779d3ecb57e43f9ad (diff) | |
download | chromium_src-c9e1979455bd83b1d3c6d95be4c84cc7153ced7f.zip chromium_src-c9e1979455bd83b1d3c6d95be4c84cc7153ced7f.tar.gz chromium_src-c9e1979455bd83b1d3c6d95be4c84cc7153ced7f.tar.bz2 |
[Mac] Match popup contents to page zoom size.
Fix the size of the font used in popups presented by the browser UI
thread. WebKit was modified to add a field containing the font size,
the font size is then propagated in the message sent to the browser,
and the web menu runner sets that font size on the popup button
resonsible for running the popup menu.
Requires WebKit release >= 55897. See WebKit bug https://bugs.webkit.org/show_bug.cgi?id=35990
BUG=14010
TEST=none
Review URL: http://codereview.chromium.org/996001
Patch from scottbyer@chromium.org.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41845 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/test')
-rw-r--r-- | chrome/browser/renderer_host/test/test_render_view_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/test/test_render_view_host.h b/chrome/browser/renderer_host/test/test_render_view_host.h index 3939ad9..bbc6ea6 100644 --- a/chrome/browser/renderer_host/test/test_render_view_host.h +++ b/chrome/browser/renderer_host/test/test_render_view_host.h @@ -73,6 +73,7 @@ class TestRenderWidgetHostView : public RenderWidgetHostView { #if defined(OS_MACOSX) virtual void ShowPopupWithItems(gfx::Rect bounds, int item_height, + double item_font_size, int selected_item, const std::vector<WebMenuItem>& items) {} virtual gfx::Rect GetWindowRect(); |