Index: ash/mus/frame/detached_title_area_renderer.h |
diff --git a/ash/mus/frame/detached_title_area_renderer.h b/ash/mus/frame/detached_title_area_renderer.h |
index 45715b07aa7f89952882e360fbf3f4d808c7ae7c..9c6e212803b0dedf08de16f2fc7c2b24b3452090 100644 |
--- a/ash/mus/frame/detached_title_area_renderer.h |
+++ b/ash/mus/frame/detached_title_area_renderer.h |
@@ -8,10 +8,6 @@ |
#include "base/macros.h" |
#include "ui/views/widget/widget_delegate.h" |
-namespace ui { |
-class Window; |
-} |
- |
namespace ash { |
namespace mus { |
@@ -35,13 +31,12 @@ class DetachedTitleAreaRenderer : public views::WidgetDelegate { |
MASH, |
}; |
- // Creates a widget to render the title area and shows it. |window| is the |
- // window to render to and |widget| the widget whose frame state is rendered |
- // to |window|. This object is deleted either when |window| is destroyed, or |
- // Destroy() is called. |
+ // Creates a widget to render the title area and shows it. |frame| is the |
+ // widget whose frame state is rendered to. This object is deleted explicitly |
+ // by calling Destroy(). |
DetachedTitleAreaRenderer(DetachedTitleAreaRendererHost* host, |
views::Widget* frame, |
- ui::Window* window, |
+ const gfx::Rect& bounds, |
Source source); |
void Destroy(); |