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

Side by Side Diff: ash/launcher/launcher_view.cc

Issue 23531053: ui/base/animation -> ui/gfx/animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 2 trunk 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
« no previous file with comments | « ash/launcher/launcher_button.cc ('k') | ash/magnifier/magnification_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/launcher/launcher_view.h" 5 #include "ash/launcher/launcher_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/ash_constants.h" 9 #include "ash/ash_constants.h"
10 #include "ash/ash_switches.h" 10 #include "ash/ash_switches.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #include "ui/views/border.h" 45 #include "ui/views/border.h"
46 #include "ui/views/controls/button/image_button.h" 46 #include "ui/views/controls/button/image_button.h"
47 #include "ui/views/controls/menu/menu_model_adapter.h" 47 #include "ui/views/controls/menu/menu_model_adapter.h"
48 #include "ui/views/controls/menu/menu_runner.h" 48 #include "ui/views/controls/menu/menu_runner.h"
49 #include "ui/views/focus/focus_search.h" 49 #include "ui/views/focus/focus_search.h"
50 #include "ui/views/focus_border.h" 50 #include "ui/views/focus_border.h"
51 #include "ui/views/view_model.h" 51 #include "ui/views/view_model.h"
52 #include "ui/views/view_model_utils.h" 52 #include "ui/views/view_model_utils.h"
53 #include "ui/views/widget/widget.h" 53 #include "ui/views/widget/widget.h"
54 54
55 using ui::Animation; 55 using gfx::Animation;
56 using views::View; 56 using views::View;
57 57
58 namespace ash { 58 namespace ash {
59 namespace internal { 59 namespace internal {
60 60
61 // Default amount content is inset on the left edge. 61 // Default amount content is inset on the left edge.
62 const int kDefaultLeadingInset = 8; 62 const int kDefaultLeadingInset = 8;
63 63
64 // Minimum distance before drag starts. 64 // Minimum distance before drag starts.
65 const int kMinimumDragDistance = 8; 65 const int kMinimumDragDistance = 8;
(...skipping 1823 matching lines...) Expand 10 before | Expand all | Expand 10 after
1889 break; 1889 break;
1890 case ash::SHELF_ALIGNMENT_TOP: 1890 case ash::SHELF_ALIGNMENT_TOP:
1891 distance = coordinate.y() - bounds.bottom(); 1891 distance = coordinate.y() - bounds.bottom();
1892 break; 1892 break;
1893 } 1893 }
1894 return distance > 0 ? distance : 0; 1894 return distance > 0 ? distance : 0;
1895 } 1895 }
1896 1896
1897 } // namespace internal 1897 } // namespace internal
1898 } // namespace ash 1898 } // namespace ash
OLDNEW
« no previous file with comments | « ash/launcher/launcher_button.cc ('k') | ash/magnifier/magnification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698