Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc |
index 09255569f48621af295d661859f23b9ed795c6e1..c6913bf83089c7547563a142d080ef4e3779d29f 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
@@ -10,6 +10,7 @@ |
#include "content/browser/renderer_host/render_widget_host.h" |
#include "content/public/browser/native_web_keyboard_event.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
+#include "ui/aura/aura_constants.h" |
oshima
2011/10/28 08:52:56
i saw ben's comment that this should be aura_shell
varunjain
2011/10/28 17:15:34
yes. content is not allowed to depend on shell.. s
|
#include "ui/aura/desktop.h" |
#include "ui/aura/event.h" |
#include "ui/aura/hit_test.h" |
@@ -180,7 +181,8 @@ void RenderWidgetHostViewAura::Destroy() { |
} |
void RenderWidgetHostViewAura::SetTooltipText(const string16& tooltip_text) { |
- //NOTIMPLEMENTED(); |
+ string16* tooltip = new string16(tooltip_text); |
+ window_->SetProperty(aura::kTooltipTextKey, tooltip); |
oshima
2011/10/28 08:52:56
this will leak memory. you need to delete old prop
varunjain
2011/10/28 17:15:34
I will fix this.
|
} |
BackingStore* RenderWidgetHostViewAura::AllocBackingStore( |