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

Side by Side Diff: views/controls/progress_bar.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 | « views/controls/native_control.cc ('k') | views/controls/resize_area.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "views/controls/progress_bar.h" 5 #include "views/controls/progress_bar.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "gfx/canvas_skia.h"
13 #include "gfx/color_utils.h"
14 #include "gfx/font.h"
15 #include "gfx/insets.h"
16 #include "third_party/skia/include/effects/SkGradientShader.h" 12 #include "third_party/skia/include/effects/SkGradientShader.h"
17 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" 13 #include "third_party/skia/include/effects/SkBlurMaskFilter.h"
14 #include "ui/gfx/canvas_skia.h"
15 #include "ui/gfx/color_utils.h"
16 #include "ui/gfx/font.h"
17 #include "ui/gfx/insets.h"
18 #include "views/background.h" 18 #include "views/background.h"
19 #include "views/border.h" 19 #include "views/border.h"
20 #include "views/painter.h" 20 #include "views/painter.h"
21 21
22 namespace { 22 namespace {
23 23
24 // Corner radius for the progress bar's border. 24 // Corner radius for the progress bar's border.
25 const int kCornerRadius = 3; 25 const int kCornerRadius = 3;
26 26
27 // Progress bar's border width 27 // Progress bar's border width
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 312
313 AccessibilityTypes::Role ProgressBar::GetAccessibleRole() { 313 AccessibilityTypes::Role ProgressBar::GetAccessibleRole() {
314 return AccessibilityTypes::ROLE_PROGRESSBAR; 314 return AccessibilityTypes::ROLE_PROGRESSBAR;
315 } 315 }
316 316
317 AccessibilityTypes::State ProgressBar::GetAccessibleState() { 317 AccessibilityTypes::State ProgressBar::GetAccessibleState() {
318 return AccessibilityTypes::STATE_READONLY; 318 return AccessibilityTypes::STATE_READONLY;
319 } 319 }
320 320
321 } // namespace views 321 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/native_control.cc ('k') | views/controls/resize_area.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698