| Index: third_party/WebKit/public/web/WebWidgetClient.h
|
| diff --git a/third_party/WebKit/public/web/WebWidgetClient.h b/third_party/WebKit/public/web/WebWidgetClient.h
|
| index 2fa8b8ebb0b7c6e88c993fe45fbce269b625f5d5..d7e490b1a8ff089d50b2727ee56ffa47f3f3be46 100644
|
| --- a/third_party/WebKit/public/web/WebWidgetClient.h
|
| +++ b/third_party/WebKit/public/web/WebWidgetClient.h
|
| @@ -89,10 +89,16 @@ class WebWidgetClient {
|
| // Called to show the widget according to the given policy.
|
| virtual void show(WebNavigationPolicy) {}
|
|
|
| - // Called to get/set the position of the widget in screen coordinates.
|
| + // Called to get/set the position of the widget's window in screen
|
| + // coordinates. Note, the window includes any decorations such as borders,
|
| + // scrollbars, URL bar, tab strip, etc. if they exist.
|
| virtual WebRect windowRect() { return WebRect(); }
|
| virtual void setWindowRect(const WebRect&) {}
|
|
|
| + // Called to get the view rect in screen coordinates. This is the actual
|
| + // content view area, i.e. doesn't include any window decorations.
|
| + virtual WebRect viewRect() { return WebRect(); }
|
| +
|
| // Called when a tooltip should be shown at the current cursor position.
|
| virtual void setToolTipText(const WebString&, WebTextDirection hint) {}
|
|
|
|
|