diff options
Diffstat (limited to 'ash/wm/custom_frame_view_ash.h')
-rw-r--r-- | ash/wm/custom_frame_view_ash.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ash/wm/custom_frame_view_ash.h b/ash/wm/custom_frame_view_ash.h index fc31015..fea059f 100644 --- a/ash/wm/custom_frame_view_ash.h +++ b/ash/wm/custom_frame_view_ash.h @@ -35,6 +35,21 @@ class ASH_EXPORT CustomFrameViewAsh : public views::NonClientFrameView, CustomFrameViewAsh(); virtual ~CustomFrameViewAsh(); + // For testing. + class TestApi { + public: + explicit TestApi(CustomFrameViewAsh* frame) : frame_(frame) { + } + + views::ImageButton* maximize_button() const { + return frame_->maximize_button_; + } + + private: + TestApi(); + CustomFrameViewAsh* frame_; + }; + void Init(views::Widget* frame); views::ImageButton* close_button() { return close_button_; } |