| Index: content/renderer/render_widget.cc
|
| diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
|
| index 98d6a4dd19488ec36b28747b2e5fb6bb12d118ad..835c954b5a783d30a0c660ed24b87af352ff388f 100644
|
| --- a/content/renderer/render_widget.cc
|
| +++ b/content/renderer/render_widget.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/message_loop.h"
|
| #include "base/metrics/histogram.h"
|
| +#include "base/utf_string_conversions.h"
|
| #include "build/build_config.h"
|
| #include "content/common/content_switches.h"
|
| #include "content/common/swapped_out_messages.h"
|
| @@ -27,6 +28,7 @@
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h"
|
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
|
| #include "ui/gfx/point.h"
|
| #include "ui/gfx/size.h"
|
| #include "ui/gfx/surface/transport_dib.h"
|
| @@ -987,6 +989,12 @@ WebRect RenderWidget::windowRect() {
|
| return rect;
|
| }
|
|
|
| +void RenderWidget::setToolTipText(const WebKit::WebString& text,
|
| + WebTextDirection hint) {
|
| + Send(new ViewHostMsg_SetTooltipText(routing_id_, UTF16ToWideHack(text),
|
| + hint));
|
| +}
|
| +
|
| void RenderWidget::setWindowRect(const WebRect& pos) {
|
| if (did_show_) {
|
| Send(new ViewHostMsg_RequestMove(routing_id_, pos));
|
|
|