| Index: ppapi/cpp/view.h
|
| diff --git a/ppapi/cpp/view.h b/ppapi/cpp/view.h
|
| index 7ffd1682294412468009cd0d1144dae70df018f7..09ef86269c806d67d77f1d4abe9d40d3e32c933f 100644
|
| --- a/ppapi/cpp/view.h
|
| +++ b/ppapi/cpp/view.h
|
| @@ -138,6 +138,14 @@ class View : public Resource {
|
| /// @return A <code>float</code> value representing the number of DIPs per CSS
|
| /// pixel.
|
| float GetCSSScale() const;
|
| +
|
| + /// GetScrollOffset returns the scroll offset of the window containing the
|
| + /// plugin. This value will only be valid if the module instance is visible
|
| + /// (that is, IsVisible() is true) otherwise (0, 0) will be returned.
|
| + ///
|
| + /// @return A <code>Point</code> which is set to the value of the scroll
|
| + /// offset in CSS pixels.
|
| + Point GetScrollOffset() const;
|
| };
|
|
|
| } // namespace pp
|
|
|