| 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 9918c4999c9c6e93a3deb699d43a9a785287f3c3..577f9a04dbab82af81fa630e228c89b607cfc409 100644
|
| --- a/third_party/WebKit/public/web/WebWidgetClient.h
|
| +++ b/third_party/WebKit/public/web/WebWidgetClient.h
|
| @@ -87,10 +87,16 @@ public:
|
| // 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) { }
|
|
|
|
|