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

Side by Side Diff: ash/wm/caption_buttons/alternate_frame_caption_button.cc

Issue 23498031: Move code related to the window controls to ash/wm/caption_buttons (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/wm/workspace/alternate_frame_caption_button.h" 5 #include "ash/wm/caption_buttons/alternate_frame_caption_button.h"
6 6
7 #include "ui/base/animation/slide_animation.h" 7 #include "ui/base/animation/slide_animation.h"
8 #include "ui/gfx/canvas.h" 8 #include "ui/gfx/canvas.h"
9 9
10 namespace ash { 10 namespace ash {
11 11
12 namespace { 12 namespace {
13 13
14 // The width and height of the region of the button which does not overlap 14 // The width and height of the region of the button which does not overlap
15 // with other buttons. 15 // with other buttons.
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 } 221 }
222 222
223 void AlternateFrameCaptionButton::AnimationEnded( 223 void AlternateFrameCaptionButton::AnimationEnded(
224 const ui::Animation* animation) { 224 const ui::Animation* animation) {
225 // The bubble animation was postponed if the button became pressed when the 225 // The bubble animation was postponed if the button became pressed when the
226 // bubble was fading out. Do the animation now. 226 // bubble was fading out. Do the animation now.
227 MaybeStartNewBubbleAnimation(); 227 MaybeStartNewBubbleAnimation();
228 } 228 }
229 229
230 } // namespace ash 230 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/caption_buttons/alternate_frame_caption_button.h ('k') | ash/wm/caption_buttons/frame_caption_button_container_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698