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

Unified Diff: ash/frame/caption_buttons/frame_caption_button_container_view.h

Issue 308683002: Move MaximizeModeWindowManager to the controller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
Index: ash/frame/caption_buttons/frame_caption_button_container_view.h
diff --git a/ash/frame/caption_buttons/frame_caption_button_container_view.h b/ash/frame/caption_buttons/frame_caption_button_container_view.h
index 9e67b93225dee57684abfb17989d77b7b573dac9..69c560a23519cb1080c18fe44bb8cf7e25722d19 100644
--- a/ash/frame/caption_buttons/frame_caption_button_container_view.h
+++ b/ash/frame/caption_buttons/frame_caption_button_container_view.h
@@ -5,6 +5,8 @@
#ifndef ASH_FRAME_CAPTION_BUTTONS_FRAME_CAPTION_BUTTON_CONTAINER_VIEW_H_
#define ASH_FRAME_CAPTION_BUTTONS_FRAME_CAPTION_BUTTON_CONTAINER_VIEW_H_
+#include <map>
James Cook 2014/05/30 19:47:51 Thank you for fixing include-what-you-use
+
#include "ash/ash_export.h"
#include "ash/frame/caption_buttons/frame_size_button_delegate.h"
#include "ui/views/controls/button/button.h"
@@ -86,9 +88,9 @@ class ASH_EXPORT FrameCaptionButtonContainerView
int NonClientHitTest(const gfx::Point& point) const;
// Updates the size button's visibility based on whether |frame_| can be
- // maximized and |force_hidden|. A parent view should relayout to reflect the
- // change in visibility.
- void UpdateSizeButtonVisibility(bool force_hidden);
+ // maximized and is Maximize Mode is enabled. A parent view should relayout
James Cook 2014/05/30 19:47:51 nit: "whether maximized mode" or "if maximize mode
jonross 2014/06/02 13:48:06 Done.
+ // to reflect the change in visibility.
+ void UpdateSizeButtonVisibility();
// views::View:
virtual gfx::Size GetPreferredSize() const OVERRIDE;
@@ -152,6 +154,6 @@ class ASH_EXPORT FrameCaptionButtonContainerView
DISALLOW_COPY_AND_ASSIGN(FrameCaptionButtonContainerView);
};
-} // namesapace ash
+} // namespace ash
#endif // ASH_FRAME_CAPTION_BUTTONS_FRAME_CAPTION_BUTTON_CONTAINER_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698