Chromium Code Reviews| Index: public/web/WebPlugin.h |
| diff --git a/public/web/WebPlugin.h b/public/web/WebPlugin.h |
| index 6b84860c21f2aa8de5ee6c1823fc30085a5bc02c..e864f342278acec49a17f5b91464716b00d62772 100644 |
| --- a/public/web/WebPlugin.h |
| +++ b/public/web/WebPlugin.h |
| @@ -89,10 +89,16 @@ public: |
| virtual void paint(WebCanvas*, const WebRect&) = 0; |
| + // DEPRECATED. TODO(tommycli): Remove once embedders migrate to the new interface. |
| + virtual void updateGeometry( |
| + const WebRect& windowRect, const WebRect& clipRect, |
| + const WebVector<WebRect>& cutOutsRects, bool isVisible) { } |
| + |
| // Coordinates are relative to the containing window. |
| virtual void updateGeometry( |
| - const WebRect& frameRect, const WebRect& clipRect, |
| - const WebVector<WebRect>& cutOutsRects, bool isVisible) = 0; |
| + const WebRect& windowRect, const WebRect& clipRect, |
| + const WebRect& unobscuredRect, const WebVector<WebRect>& cutOutsRects, |
| + bool isVisible) { } |
|
piman
2015/03/25 20:38:51
nit: Maybe you can just have this call the other u
tommycli
2015/03/25 21:51:39
Done.
|
| virtual void updateFocus(bool focused, WebFocusType) = 0; |