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

Side by Side Diff: chrome/browser/chromeos/volume_bubble_view.cc

Issue 3084006: Fix CrOS build. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 "chrome/browser/chromeos/volume_bubble_view.h" 5 #include "chrome/browser/chromeos/volume_bubble_view.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "app/resource_bundle.h" 9 #include "app/resource_bundle.h"
10 #include "base/logging.h"
10 #include "gfx/canvas.h" 11 #include "gfx/canvas.h"
11 #include "grit/theme_resources.h" 12 #include "grit/theme_resources.h"
12 #include "third_party/skia/include/core/SkBitmap.h" 13 #include "third_party/skia/include/core/SkBitmap.h"
13 #include "views/controls/progress_bar.h" 14 #include "views/controls/progress_bar.h"
14 15
15 using views::Background; 16 using views::Background;
16 using views::View; 17 using views::View;
17 using views::Widget; 18 using views::Widget;
18 19
19 namespace { 20 namespace {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 (height() - kProgressBarHeight) / 2, 57 (height() - kProgressBarHeight) / 2,
57 width() - volume_icon_->width() - kMargin * 3, 58 width() - volume_icon_->width() - kMargin * 3,
58 kProgressBarHeight); 59 kProgressBarHeight);
59 } 60 }
60 61
61 gfx::Size VolumeBubbleView::GetPreferredSize() { 62 gfx::Size VolumeBubbleView::GetPreferredSize() {
62 return gfx::Size(kWidth, kHeight); 63 return gfx::Size(kWidth, kHeight);
63 } 64 }
64 65
65 } // namespace chromeos 66 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698