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

Side by Side Diff: chrome/views/controls/button/text_button.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/button/native_button.cc ('k') | chrome/views/controls/combo_box.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/button/text_button.h" 5 #include "chrome/views/controls/button/text_button.h"
6 6
7 #include "app/l10n_util.h"
7 #include "app/throb_animation.h" 8 #include "app/throb_animation.h"
8 #include "app/resource_bundle.h" 9 #include "app/resource_bundle.h"
9 #include "chrome/common/gfx/chrome_canvas.h" 10 #include "chrome/common/gfx/chrome_canvas.h"
10 #include "chrome/common/l10n_util.h"
11 #include "chrome/views/controls/button/button.h" 11 #include "chrome/views/controls/button/button.h"
12 #include "chrome/views/event.h" 12 #include "chrome/views/event.h"
13 #include "grit/theme_resources.h" 13 #include "grit/theme_resources.h"
14 14
15 namespace views { 15 namespace views {
16 16
17 // Padding between the icon and text. 17 // Padding between the icon and text.
18 static const int kIconTextPadding = 5; 18 static const int kIconTextPadding = 5;
19 19
20 // Preferred padding between text and edge 20 // Preferred padding between text and edge
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 316
317 bool TextButton::OnMousePressed(const MouseEvent& e) { 317 bool TextButton::OnMousePressed(const MouseEvent& e) {
318 return true; 318 return true;
319 } 319 }
320 320
321 void TextButton::Paint(ChromeCanvas* canvas) { 321 void TextButton::Paint(ChromeCanvas* canvas) {
322 Paint(canvas, false); 322 Paint(canvas, false);
323 } 323 }
324 324
325 } // namespace views 325 } // namespace views
OLDNEW
« no previous file with comments | « chrome/views/controls/button/native_button.cc ('k') | chrome/views/controls/combo_box.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698