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

Side by Side Diff: chrome/views/controls/label.cc

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « chrome/views/controls/combo_box.cc ('k') | chrome/views/controls/label_unittest.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "chrome/views/controls/label.h" 5 #include "chrome/views/controls/label.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include "app/l10n_util.h"
9 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
10 #include "base/logging.h" 11 #include "base/logging.h"
11 #include "base/string_util.h" 12 #include "base/string_util.h"
12 #include "chrome/common/gfx/chrome_canvas.h" 13 #include "chrome/common/gfx/chrome_canvas.h"
13 #include "chrome/common/gfx/chrome_font.h" 14 #include "chrome/common/gfx/chrome_font.h"
14 #include "chrome/common/gfx/insets.h" 15 #include "chrome/common/gfx/insets.h"
15 #include "chrome/common/gfx/text_elider.h" 16 #include "chrome/common/gfx/text_elider.h"
16 #include "chrome/common/l10n_util.h"
17 #include "chrome/views/background.h" 17 #include "chrome/views/background.h"
18 18
19 namespace views { 19 namespace views {
20 20
21 const char Label::kViewClassName[] = "chrome/views/Label"; 21 const char Label::kViewClassName[] = "chrome/views/Label";
22 22
23 static const SkColor kEnabledColor = SK_ColorBLACK; 23 static const SkColor kEnabledColor = SK_ColorBLACK;
24 static const SkColor kDisabledColor = SkColorSetRGB(161, 161, 146); 24 static const SkColor kDisabledColor = SkColorSetRGB(161, 161, 146);
25 static const int kFocusBorderPadding = 1; 25 static const int kFocusBorderPadding = 1;
26 26
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 } 435 }
436 436
437 bool Label::GetAccessibleState(AccessibilityTypes::State* state) { 437 bool Label::GetAccessibleState(AccessibilityTypes::State* state) {
438 DCHECK(state); 438 DCHECK(state);
439 439
440 *state = AccessibilityTypes::STATE_READONLY; 440 *state = AccessibilityTypes::STATE_READONLY;
441 return true; 441 return true;
442 } 442 }
443 443
444 } // namespace views 444 } // namespace views
OLDNEW
« no previous file with comments | « chrome/views/controls/combo_box.cc ('k') | chrome/views/controls/label_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698