summaryrefslogtreecommitdiffstats
path: root/views/window/custom_frame_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/window/custom_frame_view.h')
-rw-r--r--views/window/custom_frame_view.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/window/custom_frame_view.h b/views/window/custom_frame_view.h
index aa3367d..16f8ace 100644
--- a/views/window/custom_frame_view.h
+++ b/views/window/custom_frame_view.h
@@ -7,8 +7,8 @@
#pragma once
#include "views/controls/button/image_button.h"
-#include "views/widget/widget.h"
#include "views/window/non_client_view.h"
+#include "views/window/window.h"
#include "views/window/window_resources.h"
namespace gfx {
@@ -32,7 +32,7 @@ namespace views {
class CustomFrameView : public NonClientFrameView,
public ButtonListener {
public:
- explicit CustomFrameView(Widget* frame);
+ explicit CustomFrameView(Window* frame);
virtual ~CustomFrameView();
// Overridden from NonClientFrameView:
@@ -114,7 +114,7 @@ class CustomFrameView : public NonClientFrameView,
bool should_show_client_edge_;
// The window that owns this view.
- Widget* frame_;
+ Window* frame_;
// Initialize various static resources.
static void InitClass();