Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3325)

Unified Diff: ash/mus/frame/detached_title_area_renderer.h

Issue 2539363005: Converts ash to use aura-mus (Closed)
Patch Set: merge Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698