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

Unified Diff: ash/wm/custom_frame_view_ash.cc

Issue 9703026: Makes the maximize/restore button handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate review feedback Created 8 years, 9 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 | « ash/shell/window_type_launcher.cc ('k') | ash/wm/workspace/frame_maximize_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/custom_frame_view_ash.cc
diff --git a/ash/wm/custom_frame_view_ash.cc b/ash/wm/custom_frame_view_ash.cc
index 103f4f8d6c01ff0693b30ecfba5a150895dcce35..3a74de4641527e2c210602222f2cca0844208ccb 100644
--- a/ash/wm/custom_frame_view_ash.cc
+++ b/ash/wm/custom_frame_view_ash.cc
@@ -5,6 +5,7 @@
#include "ash/wm/custom_frame_view_ash.h"
#include "ash/wm/frame_painter.h"
+#include "ash/wm/workspace/frame_maximize_button.h"
#include "grit/ui_resources.h"
#include "grit/ui_strings.h" // Accessibility names
#include "ui/base/l10n/l10n_util.h"
@@ -43,7 +44,7 @@ void CustomFrameViewAsh::Init(views::Widget* frame) {
frame_ = frame;
- maximize_button_ = new views::ImageButton(this);
+ maximize_button_ = new FrameMaximizeButton(this);
maximize_button_->SetAccessibleName(
l10n_util::GetStringUTF16(IDS_APP_ACCNAME_MAXIMIZE));
AddChildView(maximize_button_);
« no previous file with comments | « ash/shell/window_type_launcher.cc ('k') | ash/wm/workspace/frame_maximize_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698