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

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

Issue 5734002: Continuation of CL 5685007, rename the singleton accessor method in more files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 #include "chrome/browser/chromeos/brightness_bubble.h" 5 #include "chrome/browser/chromeos/brightness_bubble.h"
6 6
7 #include "app/resource_bundle.h" 7 #include "app/resource_bundle.h"
8 #include "base/singleton.h" 8 #include "base/singleton.h"
9 #include "grit/theme_resources.h" 9 #include "grit/theme_resources.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 12
13 BrightnessBubble::BrightnessBubble() 13 BrightnessBubble::BrightnessBubble()
14 : SettingLevelBubble( 14 : SettingLevelBubble(
15 ResourceBundle::GetSharedInstance().GetBitmapNamed( 15 ResourceBundle::GetSharedInstance().GetBitmapNamed(
16 IDR_BRIGHTNESS_BUBBLE_ICON), 16 IDR_BRIGHTNESS_BUBBLE_ICON),
17 ResourceBundle::GetSharedInstance().GetBitmapNamed( 17 ResourceBundle::GetSharedInstance().GetBitmapNamed(
18 IDR_BRIGHTNESS_BUBBLE_ICON), 18 IDR_BRIGHTNESS_BUBBLE_ICON),
19 ResourceBundle::GetSharedInstance().GetBitmapNamed( 19 ResourceBundle::GetSharedInstance().GetBitmapNamed(
20 IDR_BRIGHTNESS_BUBBLE_ICON)) { 20 IDR_BRIGHTNESS_BUBBLE_ICON)) {
21 } 21 }
22 22
23 // static 23 // static
24 BrightnessBubble* BrightnessBubble::instance() { 24 BrightnessBubble* BrightnessBubble::GetInstance() {
25 return Singleton<BrightnessBubble>::get(); 25 return Singleton<BrightnessBubble>::get();
26 } 26 }
27 27
28 } // namespace chromeos 28 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698