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

Unified Diff: chrome/browser/chromeos/setting_level_bubble.cc

Issue 7294024: Sound volume and bightness bubbles doesn't grab focus anymore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Utility methods made static. Created 9 years, 5 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.cc
diff --git a/chrome/browser/chromeos/setting_level_bubble.cc b/chrome/browser/chromeos/setting_level_bubble.cc
index d3f58e7858bd9991cfed49dd383aa7dfb3e1da00..649fff6822b409659ee5d5062e46a53ab1f4428d 100644
--- a/chrome/browser/chromeos/setting_level_bubble.cc
+++ b/chrome/browser/chromeos/setting_level_bubble.cc
@@ -136,6 +136,10 @@ void SettingLevelBubble::HideBubble() {
bubble_->Close();
}
+bool SettingLevelBubble::IsShown() const {
+ return bubble_;
glotov 2011/07/05 11:10:27 Does bubble_->Close() zero bubble_ variable? In ot
SeRya 2011/07/05 12:09:51 Yes, SettingLevelBubble::BubbleClosing makes it NU
+}
+
void SettingLevelBubble::UpdateWithoutShowingBubble(int percent) {
percent = LimitPercent(percent);

Powered by Google App Engine
This is Rietveld 408576698