Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/gtest_prod_util.h" | |
| 9 #include "views/view.h" | 10 #include "views/view.h" |
| 10 | 11 |
| 11 namespace views { | 12 namespace views { |
| 12 class ProgressBar; | 13 class ProgressBar; |
| 13 } // namespace views | 14 } // namespace views |
| 14 | 15 |
| 15 class SkBitmap; | 16 class SkBitmap; |
| 16 | 17 |
| 17 namespace chromeos { | 18 namespace chromeos { |
| 18 | 19 |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 38 | 39 |
| 39 // views::View implementation: | 40 // views::View implementation: |
| 40 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 41 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| 41 virtual void Layout() OVERRIDE; | 42 virtual void Layout() OVERRIDE; |
| 42 virtual gfx::Size GetPreferredSize() OVERRIDE; | 43 virtual gfx::Size GetPreferredSize() OVERRIDE; |
| 43 | 44 |
| 44 private: | 45 private: |
| 45 views::ProgressBar* progress_bar_; | 46 views::ProgressBar* progress_bar_; |
| 46 SkBitmap* icon_; // not owned | 47 SkBitmap* icon_; // not owned |
| 47 | 48 |
| 49 FRIEND_TEST_ALL_PREFIXES(SettingLevelBubbleTest, CreateAndUpdate); | |
|
msw
2011/10/26 18:51:42
I'm not sure if there's an official style reccomen
alicet1
2011/10/27 00:34:51
Done.
| |
| 50 | |
| 48 DISALLOW_COPY_AND_ASSIGN(SettingLevelBubbleView); | 51 DISALLOW_COPY_AND_ASSIGN(SettingLevelBubbleView); |
| 49 }; | 52 }; |
| 50 | 53 |
| 51 } // namespace chromeos | 54 } // namespace chromeos |
| 52 | 55 |
| 53 #endif // CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_VIEW_H_ | 56 #endif // CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_VIEW_H_ |
| OLD | NEW |