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

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

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 (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/gfx/canvas.h"
10 #include "app/gfx/font.h"
11 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
12 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
13 #include "base/logging.h" 11 #include "base/logging.h"
14 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "gfx/canvas.h"
15 #include "gfx/color_utils.h" 14 #include "gfx/color_utils.h"
15 #include "gfx/font.h"
16 #include "gfx/insets.h" 16 #include "gfx/insets.h"
17 #include "third_party/skia/include/effects/SkGradientShader.h" 17 #include "third_party/skia/include/effects/SkGradientShader.h"
18 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" 18 #include "third_party/skia/include/effects/SkBlurMaskFilter.h"
19 #include "views/background.h" 19 #include "views/background.h"
20 #include "views/border.h" 20 #include "views/border.h"
21 #include "views/painter.h" 21 #include "views/painter.h"
22 22
23 namespace { 23 namespace {
24 24
25 // Corner radius for the progress bar's border. 25 // Corner radius for the progress bar's border.
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 return false; 211 return false;
212 *state = AccessibilityTypes::STATE_READONLY; 212 *state = AccessibilityTypes::STATE_READONLY;
213 return true; 213 return true;
214 } 214 }
215 215
216 void ProgressBar::SetAccessibleName(const std::wstring& name) { 216 void ProgressBar::SetAccessibleName(const std::wstring& name) {
217 accessible_name_.assign(name); 217 accessible_name_.assign(name);
218 } 218 }
219 219
220 } // namespace views 220 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/native/native_view_host_win.cc ('k') | views/controls/scrollbar/bitmap_scroll_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698