OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/renderer_host/render_widget_host_view_aura.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "content/browser/renderer_host/backing_store_skia.h" | 8 #include "content/browser/renderer_host/backing_store_skia.h" |
9 #include "content/browser/renderer_host/web_input_event_aura.h" | 9 #include "content/browser/renderer_host/web_input_event_aura.h" |
10 #include "content/browser/renderer_host/render_widget_host.h" | 10 #include "content/browser/renderer_host/render_widget_host.h" |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 int error_code) { | 173 int error_code) { |
174 UpdateCursorIfOverSelf(); | 174 UpdateCursorIfOverSelf(); |
175 Destroy(); | 175 Destroy(); |
176 } | 176 } |
177 | 177 |
178 void RenderWidgetHostViewAura::Destroy() { | 178 void RenderWidgetHostViewAura::Destroy() { |
179 delete window_; | 179 delete window_; |
180 } | 180 } |
181 | 181 |
182 void RenderWidgetHostViewAura::SetTooltipText(const string16& tooltip_text) { | 182 void RenderWidgetHostViewAura::SetTooltipText(const string16& tooltip_text) { |
183 //NOTIMPLEMENTED(); | 183 window_->set_tooltip(tooltip_text); |
184 } | 184 } |
185 | 185 |
186 BackingStore* RenderWidgetHostViewAura::AllocBackingStore( | 186 BackingStore* RenderWidgetHostViewAura::AllocBackingStore( |
187 const gfx::Size& size) { | 187 const gfx::Size& size) { |
188 return new BackingStoreSkia(host_, size); | 188 return new BackingStoreSkia(host_, size); |
189 } | 189 } |
190 | 190 |
191 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) | 191 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) |
192 void RenderWidgetHostViewAura::AcceleratedSurfaceNew( | 192 void RenderWidgetHostViewAura::AcceleratedSurfaceNew( |
193 int32 width, | 193 int32 width, |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 | 418 |
419 #if !defined(TOUCH_UI) | 419 #if !defined(TOUCH_UI) |
420 //////////////////////////////////////////////////////////////////////////////// | 420 //////////////////////////////////////////////////////////////////////////////// |
421 // RenderWidgetHostViewAura, private: | 421 // RenderWidgetHostViewAura, private: |
422 | 422 |
423 void RenderWidgetHostViewAura::UpdateCursorIfOverSelf() { | 423 void RenderWidgetHostViewAura::UpdateCursorIfOverSelf() { |
424 //NOTIMPLEMENTED(); | 424 //NOTIMPLEMENTED(); |
425 // TODO(beng): See RenderWidgetHostViewWin. | 425 // TODO(beng): See RenderWidgetHostViewWin. |
426 } | 426 } |
427 #endif | 427 #endif |
OLD | NEW |