diff options
author | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-25 19:28:10 +0000 |
---|---|---|
committer | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-25 19:28:10 +0000 |
commit | cda45c034ced09ca661c538c871c602372ff032a (patch) | |
tree | b48c8562448e16ef605e25b114aa1160218ac471 /chrome/common | |
parent | 68c243b40bef0b0d55d8783a0625146d7709bb8f (diff) | |
download | chromium_src-cda45c034ced09ca661c538c871c602372ff032a.zip chromium_src-cda45c034ced09ca661c538c871c602372ff032a.tar.gz chromium_src-cda45c034ced09ca661c538c871c602372ff032a.tar.bz2 |
Disable scroll bars on resizing popups below a maximum size.
This CL requires a patch to webkit to compile. That patch is tracked here:
https://bugs.webkit.org/show_bug.cgi?id=35257
This CL makes a change on Mac and Linux. Windows will follow in a sepperate change.
BUG=30247
TEST=Manual testing using the test case attached to the bug and the sample extensions.
Review URL: http://codereview.chromium.org/657012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40036 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/render_messages_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index d9cee06..608716c 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -750,6 +750,11 @@ IPC_BEGIN_MESSAGES(View) // Used to instruct the RenderView to send back updates to the preferred size. IPC_MESSAGE_ROUTED0(ViewMsg_EnablePreferredSizeChangedMode) + // Used to tell the renderer not to add scrollbars with height and + // width below a threshold. + IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows, + gfx::Size /* disable_scrollbar_size_limit */) + // Used to inform the renderer that the browser has displayed its // requested notification. IPC_MESSAGE_ROUTED1(ViewMsg_PostDisplayToNotificationObject, |