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

Unified 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 Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/setting_level_bubble_view.h
diff --git a/chrome/browser/chromeos/setting_level_bubble_view.h b/chrome/browser/chromeos/setting_level_bubble_view.h
index f118cac31e856af9f383d5308376fed2587df66b..4904abee7c42a6f6cd32dae2c879d57c0737863f 100644
--- a/chrome/browser/chromeos/setting_level_bubble_view.h
+++ b/chrome/browser/chromeos/setting_level_bubble_view.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_VIEW_H_
#pragma once
+#include "base/gtest_prod_util.h"
#include "views/view.h"
namespace views {
@@ -20,6 +21,7 @@ namespace chromeos {
// level-based setting like volume or brightness.
class SettingLevelBubbleView : public views::View {
public:
+ // Layout() is called before Init(), make sure |progress_bar_| is ready.
SettingLevelBubbleView();
// Initialize the view, setting the progress bar to the specified level in the
@@ -42,6 +44,8 @@ class SettingLevelBubbleView : public views::View {
virtual gfx::Size GetPreferredSize() OVERRIDE;
private:
+ FRIEND_TEST_ALL_PREFIXES(SettingLevelBubbleTest, CreateAndUpdate);
+
views::ProgressBar* progress_bar_;
SkBitmap* icon_; // not owned
« no previous file with comments | « chrome/browser/chromeos/setting_level_bubble_browsertest.cc ('k') | chrome/browser/chromeos/setting_level_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698