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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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/setting_level_bubble_view.h" 5 #include "chrome/browser/chromeos/setting_level_bubble_view.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "gfx/canvas.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 10 #include "third_party/skia/include/core/SkBitmap.h"
11 #include "ui/gfx/canvas.h"
12 #include "views/controls/progress_bar.h" 12 #include "views/controls/progress_bar.h"
13 13
14 using views::Background; 14 using views::Background;
15 using views::View; 15 using views::View;
16 using views::Widget; 16 using views::Widget;
17 17
18 namespace { 18 namespace {
19 19
20 // Bubble metrics. 20 // Bubble metrics.
21 const int kWidth = 350, kHeight = 100; 21 const int kWidth = 350, kHeight = 100;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 progress_bar_->SetBounds(width() - kPadding - kProgressBarWidth, 61 progress_bar_->SetBounds(width() - kPadding - kProgressBarWidth,
62 (height() - kProgressBarHeight) / 2, 62 (height() - kProgressBarHeight) / 2,
63 kProgressBarWidth, kProgressBarHeight); 63 kProgressBarWidth, kProgressBarHeight);
64 } 64 }
65 65
66 gfx::Size SettingLevelBubbleView::GetPreferredSize() { 66 gfx::Size SettingLevelBubbleView::GetPreferredSize() {
67 return gfx::Size(kWidth, kHeight); 67 return gfx::Size(kWidth, kHeight);
68 } 68 }
69 69
70 } // namespace chromeos 70 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/panels/panel_scroller_header.cc ('k') | chrome/browser/chromeos/status/clock_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698