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

Side by Side Diff: ash/common/wm/overview/window_grid.cc

Issue 2109663004: [ash-md] Increases the corner radii of rounded rects in overview mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | ash/common/wm/overview/window_selector.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/common/wm/overview/window_grid.h" 5 #include "ash/common/wm/overview/window_grid.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 const SkColor kWindowSelectionColorMD = SkColorSetARGB(51, 255, 255, 255); 104 const SkColor kWindowSelectionColorMD = SkColorSetARGB(51, 255, 255, 255);
105 const SkColor kWindowSelectionBorderColor = SkColorSetARGB(38, 255, 255, 255); 105 const SkColor kWindowSelectionBorderColor = SkColorSetARGB(38, 255, 255, 255);
106 const SkColor kWindowSelectionBorderColorMD = SkColorSetARGB(76, 255, 255, 255); 106 const SkColor kWindowSelectionBorderColorMD = SkColorSetARGB(76, 255, 255, 255);
107 107
108 // Border thickness of overview selector. 108 // Border thickness of overview selector.
109 const int kWindowSelectionBorderThickness = 2; 109 const int kWindowSelectionBorderThickness = 2;
110 const int kWindowSelectionBorderThicknessMD = 1; 110 const int kWindowSelectionBorderThicknessMD = 1;
111 111
112 // Corner radius of the overview selector border. 112 // Corner radius of the overview selector border.
113 const int kWindowSelectionRadius = 0; 113 const int kWindowSelectionRadius = 0;
114 const int kWindowSelectionRadiusMD = 3; 114 const int kWindowSelectionRadiusMD = 6;
115 115
116 // The minimum amount of spacing between the bottom of the text filtering 116 // The minimum amount of spacing between the bottom of the text filtering
117 // text field and the top of the selection widget on the first row of items. 117 // text field and the top of the selection widget on the first row of items.
118 const int kTextFilterBottomMargin = 5; 118 const int kTextFilterBottomMargin = 5;
119 119
120 // In the conceptual overview table, the window margin is the space reserved 120 // In the conceptual overview table, the window margin is the space reserved
121 // around the window within the cell. This margin does not overlap so the 121 // around the window within the cell. This margin does not overlap so the
122 // closest distance between adjacent windows will be twice this amount. 122 // closest distance between adjacent windows will be twice this amount.
123 const int kWindowMarginMD = 5; 123 const int kWindowMarginMD = 5;
124 124
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 *min_right = left; 943 *min_right = left;
944 if (*max_right < left) 944 if (*max_right < left)
945 *max_right = left; 945 *max_right = left;
946 } 946 }
947 *max_bottom = top + height; 947 *max_bottom = top + height;
948 } 948 }
949 return windows_fit; 949 return windows_fit;
950 } 950 }
951 951
952 } // namespace ash 952 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | ash/common/wm/overview/window_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698