| OLD | NEW |
| 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 "app/l10n_util.h" | |
| 10 #include "app/resource_bundle.h" | |
| 11 #include "base/logging.h" | 9 #include "base/logging.h" |
| 12 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| 13 #include "gfx/canvas_skia.h" | 11 #include "gfx/canvas_skia.h" |
| 14 #include "gfx/color_utils.h" | 12 #include "gfx/color_utils.h" |
| 15 #include "gfx/font.h" | 13 #include "gfx/font.h" |
| 16 #include "gfx/insets.h" | 14 #include "gfx/insets.h" |
| 17 #include "third_party/skia/include/effects/SkGradientShader.h" | 15 #include "third_party/skia/include/effects/SkGradientShader.h" |
| 18 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" | 16 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" |
| 19 #include "views/background.h" | 17 #include "views/background.h" |
| 20 #include "views/border.h" | 18 #include "views/border.h" |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 return true; | 189 return true; |
| 192 } | 190 } |
| 193 | 191 |
| 194 bool ProgressBar::GetAccessibleState(AccessibilityTypes::State* state) { | 192 bool ProgressBar::GetAccessibleState(AccessibilityTypes::State* state) { |
| 195 DCHECK(state); | 193 DCHECK(state); |
| 196 *state = AccessibilityTypes::STATE_READONLY; | 194 *state = AccessibilityTypes::STATE_READONLY; |
| 197 return true; | 195 return true; |
| 198 } | 196 } |
| 199 | 197 |
| 200 } // namespace views | 198 } // namespace views |
| OLD | NEW |