Bug 21120 - Make visibleContentRect cross-platform.
Summary: Make visibleContentRect cross-platform.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Dave Hyatt
URL:
Keywords:
Depends on:
Blocks: 21083
  Show dependency treegraph
 
Reported: 2008-09-25 14:42 PDT by Dave Hyatt
Modified: 2008-09-25 15:25 PDT (History)
0 users

See Also:


Attachments
Patch (16.50 KB, patch)
2008-09-25 14:51 PDT, Dave Hyatt
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hyatt 2008-09-25 14:42:31 PDT
This bug covers making visibleContentRect cross-platform.  visibleWidth and visibleHeight should just be implemented in terms of visibleContentRect.
Comment 1 Dave Hyatt 2008-09-25 14:51:04 PDT
Created attachment 23822 [details]
Patch
Comment 2 Sam Weinig 2008-09-25 15:17:21 PDT
Comment on attachment 23822 [details]
Patch

+    int width = GetClientSize(NULL, &width);
+    int height = GetClientSize(NULL, &height);

I don't think this works.

Otherwise, r=me.
Comment 3 Dave Hyatt 2008-09-25 15:25:46 PDT
Fixed in r36909.