Bug 85976 - [chromium] Exposes OrientationChangeEvent.
Summary: [chromium] Exposes OrientationChangeEvent.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Marcus Bulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-09 03:40 PDT by Marcus Bulach
Modified: 2012-05-09 10:58 PDT (History)
6 users (show)

See Also:


Attachments
Patch (2.97 KB, patch)
2012-05-09 03:46 PDT, Marcus Bulach
no flags Details | Formatted Diff | Diff
Patch (3.18 KB, patch)
2012-05-09 09:34 PDT, Marcus Bulach
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Bulach 2012-05-09 03:40:59 PDT
[chromium] Exposes OrientationChangeEvent.
Comment 1 Marcus Bulach 2012-05-09 03:46:47 PDT
Created attachment 140906 [details]
Patch
Comment 2 WebKit Review Bot 2012-05-09 03:49:59 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Comment 3 Adam Barth 2012-05-09 08:58:30 PDT
Comment on attachment 140906 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=140906&action=review

> Source/WebKit/chromium/public/WebFrame.h:570
> +    virtual void sendOrientationChangeEvent(int orientation) = 0;

This comment from Frame.h was helpful to me.  I wonder if we should include it here too:

        // Orientation is the interface orientation in degrees. Some examples are:
        //  0 is straight up; -90 is when the device is rotated 90 clockwise;
        //  90 is when rotated counter clockwise.
Comment 4 Marcus Bulach 2012-05-09 09:34:31 PDT
Created attachment 140960 [details]
Patch
Comment 5 Adam Barth 2012-05-09 09:35:00 PDT
Comment on attachment 140960 [details]
Patch

Many thanks.
Comment 6 Marcus Bulach 2012-05-09 09:35:02 PDT
Comment on attachment 140906 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=140906&action=review

>> Source/WebKit/chromium/public/WebFrame.h:570
>> +    virtual void sendOrientationChangeEvent(int orientation) = 0;
> 
> This comment from Frame.h was helpful to me.  I wonder if we should include it here too:
> 
>         // Orientation is the interface orientation in degrees. Some examples are:
>         //  0 is straight up; -90 is when the device is rotated 90 clockwise;
>         //  90 is when rotated counter clockwise.

yeah, agreed it clarifies. added.
Comment 7 WebKit Review Bot 2012-05-09 10:58:09 PDT
Comment on attachment 140960 [details]
Patch

Clearing flags on attachment: 140960

Committed r116544: <http://trac.webkit.org/changeset/116544>
Comment 8 WebKit Review Bot 2012-05-09 10:58:14 PDT
All reviewed patches have been landed.  Closing bug.