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

Unified Diff: ash/wm/custom_frame_view_ash.h

Issue 10825327: Adding unit tests for maximize menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing build stopper Created 8 years, 4 months 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
« no previous file with comments | « no previous file | ash/wm/custom_frame_view_ash_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/custom_frame_view_ash.h
diff --git a/ash/wm/custom_frame_view_ash.h b/ash/wm/custom_frame_view_ash.h
index c8758743e4053dcf95dbfe3f39dc616c3c57ed23..b65a9a1eea897036fd9c98f870c7acfed397c00e 100644
--- a/ash/wm/custom_frame_view_ash.h
+++ b/ash/wm/custom_frame_view_ash.h
@@ -12,6 +12,7 @@
namespace ash {
class FramePainter;
+class FrameMaximizeButton;
}
namespace gfx {
class Font;
@@ -40,7 +41,7 @@ class ASH_EXPORT CustomFrameViewAsh : public views::NonClientFrameView,
explicit TestApi(CustomFrameViewAsh* frame) : frame_(frame) {
}
- views::ImageButton* maximize_button() const {
+ ash::FrameMaximizeButton* maximize_button() const {
return frame_->maximize_button_;
}
@@ -81,7 +82,7 @@ class ASH_EXPORT CustomFrameViewAsh : public views::NonClientFrameView,
// Not owned.
views::Widget* frame_;
- views::ImageButton* maximize_button_;
+ ash::FrameMaximizeButton* maximize_button_;
views::ImageButton* close_button_;
views::ImageButton* window_icon_;
« no previous file with comments | « no previous file | ash/wm/custom_frame_view_ash_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698