class SkRegion;
+namespace extensions {
+class NativeAppWindow;
+}
+
namespace gfx {
class Canvas;
class Point;
namespace apps {
-class NativeAppWindow;
-
// A frameless or non-Ash, non-panel NonClientFrameView for app windows.
class AppWindowFrameView : public views::NonClientFrameView,
public views::ButtonListener {
// TODO(benwells): Refactor this to split out frameless and colored frame
// views. See http://crbug.com/359432.
AppWindowFrameView(views::Widget* widget,
- NativeAppWindow* window,
+ extensions::NativeAppWindow* window,
bool draw_frame,
const SkColor& active_frame_color,
const SkColor& inactive_frame_color);
virtual void ResetWindowControls() OVERRIDE {}
virtual void UpdateWindowIcon() OVERRIDE {}
virtual void UpdateWindowTitle() OVERRIDE {}
+ virtual void SizeConstraintsChanged() OVERRIDE;
// views::View implementation.
virtual gfx::Size GetPreferredSize() const OVERRIDE;
SkColor CurrentFrameColor();
views::Widget* widget_;
- NativeAppWindow* window_;
+ extensions::NativeAppWindow* window_;
bool draw_frame_;
SkColor active_frame_color_;
SkColor inactive_frame_color_;