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/setting_level_bubble_view.h

Issue 8319008: aura: brightness and volume bubble. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: update comments Created 9 years, 1 month 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) 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698