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

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

Issue 5620004: chromeos: Show onscreen bubble when brightness changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/chromeos
Patch Set: update comment Created 10 years 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/chromeos/brightness_bubble.h"
6
7 #include "app/resource_bundle.h"
8 #include "base/singleton.h"
9 #include "grit/theme_resources.h"
10
11 namespace chromeos {
12
13 BrightnessBubble::BrightnessBubble()
14 : SettingLevelBubble(
15 ResourceBundle::GetSharedInstance().GetBitmapNamed(
16 IDR_BRIGHTNESS_BUBBLE_ICON),
17 ResourceBundle::GetSharedInstance().GetBitmapNamed(
18 IDR_BRIGHTNESS_BUBBLE_ICON),
19 ResourceBundle::GetSharedInstance().GetBitmapNamed(
20 IDR_BRIGHTNESS_BUBBLE_ICON)) {
21 }
22
23 // static
24 BrightnessBubble* BrightnessBubble::instance() {
25 return Singleton<BrightnessBubble>::get();
26 }
27
28 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698