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

Unified Diff: ash/wm/maximize_bubble_controller.cc

Issue 23471004: Only support left/right maximizing at 50% width when the --ash-enable-alternate-caption-button (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: ash/wm/maximize_bubble_controller.cc
diff --git a/ash/wm/maximize_bubble_controller.cc b/ash/wm/maximize_bubble_controller.cc
index ae108ca3baad97cbd901b15bbc75fd46a3089c2f..2a23c88bbec16009c2fcf16bdba1152b36b0cf11 100644
--- a/ash/wm/maximize_bubble_controller.cc
+++ b/ash/wm/maximize_bubble_controller.cc
@@ -204,16 +204,16 @@ class BubbleMouseWatcherHost: public views::MouseWatcherHost {
// The class which creates and manages the bubble menu element.
// It creates a 'bubble border' and the content accordingly.
-// Note: Since the SnapSizer will show animations on top of the maximize button
-// this menu gets created as a separate window and the SnapSizer will be
-// created underneath this window.
+// Note: Since the PhantomWindowController will show animations on top of the
+// maximize button this menu gets created as a separate window and the phantom
+// window will be created underneath this window.
class MaximizeBubbleController::Bubble : public views::BubbleDelegateView,
public views::MouseWatcherListener {
public:
explicit Bubble(MaximizeBubbleController* owner, int appearance_delay_ms_);
virtual ~Bubble() {}
- // The window of the menu under which the SnapSizer will get created.
+ // The window of the menu under which the phantom window will get created.
aura::Window* GetBubbleWindow();
// Overridden from views::BubbleDelegateView.

Powered by Google App Engine
This is Rietveld 408576698