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

Side by Side Diff: chrome/browser/ui/ash/chrome_shell_delegate.h

Issue 11175077: Fix the low battery notification string from mins -> minutes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_ASH_CHROME_SHELL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
7 7
8 #include "ash/launcher/launcher_types.h" 8 #include "ash/launcher/launcher_types.h"
9 #include "ash/shell_delegate.h" 9 #include "ash/shell_delegate.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( 63 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate(
64 ash::SystemTray* tray) OVERRIDE; 64 ash::SystemTray* tray) OVERRIDE;
65 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; 65 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE;
66 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; 66 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE;
67 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; 67 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE;
68 virtual void OpenFeedbackPage() OVERRIDE; 68 virtual void OpenFeedbackPage() OVERRIDE;
69 virtual void RecordUserMetricsAction(ash::UserMetricsAction action) OVERRIDE; 69 virtual void RecordUserMetricsAction(ash::UserMetricsAction action) OVERRIDE;
70 virtual void HandleMediaNextTrack() OVERRIDE; 70 virtual void HandleMediaNextTrack() OVERRIDE;
71 virtual void HandleMediaPlayPause() OVERRIDE; 71 virtual void HandleMediaPlayPause() OVERRIDE;
72 virtual void HandleMediaPrevTrack() OVERRIDE; 72 virtual void HandleMediaPrevTrack() OVERRIDE;
73 virtual string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE;
74 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; 73 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE;
75 virtual double GetSavedScreenMagnifierScale() OVERRIDE; 74 virtual double GetSavedScreenMagnifierScale() OVERRIDE;
76 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root) OVERRIDE; 75 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root) OVERRIDE;
77 76
78 // content::NotificationObserver override: 77 // content::NotificationObserver override:
79 virtual void Observe(int type, 78 virtual void Observe(int type,
80 const content::NotificationSource& source, 79 const content::NotificationSource& source,
81 const content::NotificationDetails& details) OVERRIDE; 80 const content::NotificationDetails& details) OVERRIDE;
82 81
83 private: 82 private:
84 static ChromeShellDelegate* instance_; 83 static ChromeShellDelegate* instance_;
85 84
86 content::NotificationRegistrar registrar_; 85 content::NotificationRegistrar registrar_;
87 86
88 scoped_ptr<ash::WindowPositioner> window_positioner_; 87 scoped_ptr<ash::WindowPositioner> window_positioner_;
89 88
90 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; 89 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_;
91 90
92 ChromeLauncherController* launcher_delegate_; 91 ChromeLauncherController* launcher_delegate_;
93 92
94 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); 93 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
95 }; 94 };
96 95
97 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 96 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698