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

Side by Side Diff: chrome/browser/chromeos/status/status_area_button.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/browser/chromeos/status/status_area_button.h" 5 #include "chrome/browser/chromeos/status/status_area_button.h"
6 6
7 #include "app/gfx/canvas.h"
8 #include "app/resource_bundle.h" 7 #include "app/resource_bundle.h"
8 #include "gfx/canvas.h"
9 #include "gfx/skbitmap_operations.h" 9 #include "gfx/skbitmap_operations.h"
10 #include "grit/theme_resources.h" 10 #include "grit/theme_resources.h"
11 #include "views/border.h" 11 #include "views/border.h"
12 #include "views/view.h" 12 #include "views/view.h"
13 13
14 namespace chromeos { 14 namespace chromeos {
15 15
16 //////////////////////////////////////////////////////////////////////////////// 16 ////////////////////////////////////////////////////////////////////////////////
17 // StatusAreaButton 17 // StatusAreaButton
18 18
(...skipping 18 matching lines...) Expand all
37 gfx::Size prefsize(kIconWidth + insets.width(), 37 gfx::Size prefsize(kIconWidth + insets.width(),
38 kIconHeight + insets.height()); 38 kIconHeight + insets.height());
39 return prefsize; 39 return prefsize;
40 } 40 }
41 41
42 void StatusAreaButton::DrawIcon(gfx::Canvas* canvas) { 42 void StatusAreaButton::DrawIcon(gfx::Canvas* canvas) {
43 canvas->DrawBitmapInt(icon(), 0, 0); 43 canvas->DrawBitmapInt(icon(), 0, 0);
44 } 44 }
45 45
46 } // namespace chromeos 46 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/power_menu_button.cc ('k') | chrome/browser/chromeos/status/status_area_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698